From: Tobias Burnus Date: Mon, 15 Oct 2018 18:58:17 +0000 (+0200) Subject: re PR fortran/87597 (wrong result with matmul inlining) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91fe8d06240dee747e506ec3dd487af483751a94;p=gcc.git re PR fortran/87597 (wrong result with matmul inlining) 2018-10-15 Tobias Burnus PR fortran/87597 * gfortran.dg/inline_matmul_24.f90: Tweak scan-tree. From-SVN: r265175 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f8b0852e90..46085c0cecf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-15 Tobias Burnus + + PR fortran/87597 + * gfortran.dg/inline_matmul_24.f90: Tweak scan-tree. + 2018-10-15 Renlin Li PR target/87563 diff --git a/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 b/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 index 067f6daf200..3168d5f1006 100644 --- a/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 +++ b/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 @@ -39,4 +39,4 @@ program testMATMUL call abort() end if end program testMATMUL -! { dg-final { scan-tree-dump-times "gamma5\[__var_1_do \\* 4 \\+ __var_2_do\]" 1 "optimized" } } +! { dg-final { scan-tree-dump-times "gamma5\\\[__var_1_do \\* 4 \\+ __var_2_do\\\]|gamma5\\\[NON_LVALUE_EXPR <__var_1_do> \\* 4 \\+ NON_LVALUE_EXPR <__var_2_do>\\\]" 1 "original" } }