aarch64: Add missing ACLE macro for NEON-SVE Bridge
[official-gcc.git] / gcc / testsuite / gfortran.dg / inline_matmul_18.f90
blobafca8f03a1b6d19983aee47567883629cad632f2
1 ! { dg-do run }
2 ! { dg-options "-O -finline-matmul-limit=100 -fdump-tree-optimized" }
3 ! PR 80975 - this did not zero the result array in the library version;
4 ! make sure this also doesn't happen in the inline version.
5 program bogus_matmul
6 implicit none
7 real :: M(3,0), v(0), w(3)
9 w = 7
10 w = matmul(M,v)
11 if( any(w .ne. 0) ) then
12 STOP 1
13 end if
14 end program bogus_matmul
15 ! { dg-final { scan-tree-dump-times "matmul_r4" 0 "optimized" } }