From 4d73e47bf8dbe9829a5d3bec2a5d5df4c62ec11f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 31 Dec 2018 15:11:09 +0100 Subject: [PATCH] Fix scan pattern of a test-case. 2018-12-31 Martin Liska * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. From-SVN: r267486 --- gcc/testsuite/ChangeLog | 4 ++++ 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 + * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. + +2018-12-31 Martin Liska + * 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" } } */ -- 2.7.4