tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_59.f90
blob90c6532392c58d11dca4d0509cd2df4a7cb547b0
1 ! { dg-do compile }
2 ! PR 95812 - this caused an ICE.
3 ! Test case by Jakub Jelinek.
5 module test
6 contains
7 subroutine foo()
8 integer :: a(3)
9 a = 1
10 print *, matmul(1*reshape(a,(/3,1/)), reshape((/1,1,1/),(/1,3/)))
11 end subroutine foo
12 subroutine bar()
13 call foo()
14 end subroutine bar
15 end module test