From dc002e31fb2d001703278263ea3d1cef366018ae Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 11 Nov 2021 18:51:35 +0100 Subject: [PATCH] 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 --- gcc/testsuite/gfortran.dg/inline_matmul_17.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } } -- 2.47.2