From: marxin Date: Mon, 31 Dec 2018 14:11:09 +0000 (+0000) Subject: Fix scan pattern of a test-case. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92527e1451bc95313c3bf9615d0d398c9c15a61e;p=thirdparty%2Fgcc.git Fix scan pattern of a test-case. 2018-12-31 Martin Liska * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267486 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80abc872f953..273ea1149dc4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-12-31 Martin Liska + + * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. + 2018-12-31 Martin Liska * g++.dg/predict-2.C: New test. diff --git a/gcc/testsuite/g++.dg/tree-prof/devirt.C b/gcc/testsuite/g++.dg/tree-prof/devirt.C index 05c9a26e7a4d..86cba41452e5 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" } } */