aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/promotion_2.f90
blob: 3acf249705c021d8a31e176b435a139ecb782f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
! { dg-do compile }
! { dg-options "-fdefault-real-8 -fexternal-blas -fdump-tree-original" }
!
! PR fortran/54463
!
! Contributed by Simon Reinhardt
!
program test
  implicit none
  real, dimension(3,3) :: A
  A = matmul(A,A)
end program test

! { dg-final { scan-tree-dump-times "sgemm_" 0 "original" } }
! { dg-final { scan-tree-dump-times "dgemm_" 1 "original" } }
! { dg-final { cleanup-tree-dump "original" } }