From: Martin Liska Date: Mon, 1 Nov 2021 16:20:45 +0000 (+0100) Subject: Fix test-suite pattern scanning. X-Git-Tag: basepoints/gcc-13~3482 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a11c53985a7080f9bf6143788ccb455dc9b0da21;p=thirdparty%2Fgcc.git Fix test-suite pattern scanning. Fixes: UNRESOLVED: g++.dg/ipa/modref-1.C scan-ipa-dump local-pure-const1 "Function found to be const: {anonymous}::B::genB" UNRESOLVED: g++.dg/ipa/modref-1.C scan-ipa-dump modref1 "Retslot flags: direct noescape nodirectescape not_returned noread" gcc/testsuite/ChangeLog: * g++.dg/ipa/modref-1.C: Fix test-suite pattern scanning. --- diff --git a/gcc/testsuite/g++.dg/ipa/modref-1.C b/gcc/testsuite/g++.dg/ipa/modref-1.C index 1de9e1d06a57..0acae2114dd6 100644 --- a/gcc/testsuite/g++.dg/ipa/modref-1.C +++ b/gcc/testsuite/g++.dg/ipa/modref-1.C @@ -30,6 +30,6 @@ int main() linker_error (); return 0; } -/* { dg-final { scan-ipa-dump "Function found to be const: {anonymous}::B::genB" "local-pure-const1" } } */ -/* { dg-final { scan-ipa-dump "Retslot flags: direct noescape nodirectescape not_returned noread" "modref1" } } */ +/* { dg-final { scan-tree-dump "Function found to be const: {anonymous}::B::genB" "local-pure-const1" } } */ +/* { dg-final { scan-tree-dump "Retslot flags: direct noescape nodirectescape not_returned noread" "modref1" } } */