From: Jan Hubicka Date: Thu, 11 Nov 2021 17:51:35 +0000 (+0100) Subject: Fix gfortran.dg/inline_matmul_17.f90 template. X-Git-Tag: basepoints/gcc-13~3135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc002e31fb2d001703278263ea3d1cef366018ae;p=thirdparty%2Fgcc.git Fix gfortran.dg/inline_matmul_17.f90 template. 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 * gfortran.dg/inline_matmul_17.f90: Fix template --- diff --git a/gcc/testsuite/gfortran.dg/inline_matmul_17.f90 b/gcc/testsuite/gfortran.dg/inline_matmul_17.f90 index d2ca8e2948a7..cff4b6ce5e28 100644 --- a/gcc/testsuite/gfortran.dg/inline_matmul_17.f90 +++ b/gcc/testsuite/gfortran.dg/inline_matmul_17.f90 @@ -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" } }