diff options
author | Martin Liska <mliska@suse.cz> | 2018-12-31 15:11:09 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-12-31 14:11:09 +0000 |
commit | 4d73e47bf8dbe9829a5d3bec2a5d5df4c62ec11f (patch) | |
tree | 0a7f70d784b5a371e660791dc6497cd39947a37e /gcc | |
parent | b3282dfe1a1601accd3bd012898c2bc807e0d078 (diff) | |
download | gcc-4d73e47bf8dbe9829a5d3bec2a5d5df4c62ec11f.zip gcc-4d73e47bf8dbe9829a5d3bec2a5d5df4c62ec11f.tar.gz gcc-4d73e47bf8dbe9829a5d3bec2a5d5df4c62ec11f.tar.bz2 |
Fix scan pattern of a test-case.
2018-12-31 Martin Liska <mliska@suse.cz>
* g++.dg/tree-prof/devirt.C: Fix scan pattern and test options.
From-SVN: r267486
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tree-prof/devirt.C | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80abc87..273ea11 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2018-12-31 Martin Liska <mliska@suse.cz> + * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. + +2018-12-31 Martin Liska <mliska@suse.cz> + * g++.dg/predict-2.C: New test. * g++.dg/predict-3.C: New test. * g++.dg/predict-4.C: New test. diff --git a/gcc/testsuite/g++.dg/tree-prof/devirt.C b/gcc/testsuite/g++.dg/tree-prof/devirt.C index 05c9a26e..86cba41 100644 --- a/gcc/testsuite/g++.dg/tree-prof/devirt.C +++ b/gcc/testsuite/g++.dg/tree-prof/devirt.C @@ -1,4 +1,4 @@ -/* { dg-options "-O3 -fdump-tree-dom3" } */ +/* { dg-options "-O3 -fdump-tree-dom3-details" } */ struct nsISupports { virtual int QueryInterface (const int &aIID, void **aInstancePtr) = 0; @@ -119,5 +119,5 @@ main () __builtin_abort (); } -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" "dom3" } } */ -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" "dom3" } } */ +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 3 "dom3" } } */ +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" 3 "dom3" } } */ |