Debian Codegraph @

gcc/testsuite/gfortran.dg/matmul_blas_2.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-O3 -fdump-tree-original -fexternal-blas" }
3 ! PR fortran/92321 - this used to cause an ICE. Original test case
4 ! by Nathan Wukie.
5
6 module mod_badmatmul
7 implicit none
8 contains
9
10 subroutine test(c)
11 real, intent(inout) :: c(3,3)
12 real :: a(3,3), b(3,3)
13 c = matmul(a, b)
14 end subroutine test
15
16 end module mod_badmatmul
17
18 program main
19 use mod_badmatmul, only: test
20 implicit none
21
22 real :: a(3,3)
23 call test(a)
24
25 end program main