]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix gfortran.dg/inline_matmul_17.f90 template.
authorJan Hubicka <jh@suse.cz>
Thu, 11 Nov 2021 17:51:35 +0000 (18:51 +0100)
committerJan Hubicka <jh@suse.cz>
Thu, 11 Nov 2021 17:51:35 +0000 (18:51 +0100)
As discussed on the mailing list the template actually tests for missed
optimization where we fail to pragate size of an array.  We no longer miss this
after modref improvements.

gcc/testsuite/ChangeLog:

2021-11-11  Jan Hubicka  <hubicka@ucw.cz>

* gfortran.dg/inline_matmul_17.f90: Fix template

gcc/testsuite/gfortran.dg/inline_matmul_17.f90

index d2ca8e2948a7eaa2efdb7ec90eefdd14ac292182..cff4b6ce5e282f97f5ede71a49c621837b874270 100644 (file)
@@ -45,4 +45,4 @@ program main
   c = matmul(a, bfunc())
   if (any(c-d /= 0)) STOP 6
 end program main
-! { dg-final { scan-tree-dump-times "matmul_r4" 2 "optimized" } }
+! { dg-final { scan-tree-dump-not "matmul_r4" "optimized" } }