diff options
author | Martin Liska <mliska@suse.cz> | 2021-11-01 17:20:45 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-11-01 17:20:45 +0100 |
commit | a11c53985a7080f9bf6143788ccb455dc9b0da21 (patch) | |
tree | 5e1d0066cf2f06adef791e02201c3927fa661047 /gcc | |
parent | b050653c4cb63fe46b9727af924f9bc2b6475fba (diff) | |
download | gcc-a11c53985a7080f9bf6143788ccb455dc9b0da21.zip gcc-a11c53985a7080f9bf6143788ccb455dc9b0da21.tar.gz gcc-a11c53985a7080f9bf6143788ccb455dc9b0da21.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/modref-1.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/ipa/modref-1.C b/gcc/testsuite/g++.dg/ipa/modref-1.C index 1de9e1d..0acae21 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" } } */ |