summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/promotion_2.f90
blob: e5365093da754d4a2505b31327e9ff12d8ff15a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { 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" } }