From eb618a86fa1f59ee7046c325a4a6acfc696cd990 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 31 Dec 2018 14:11:09 +0000 Subject: [PATCH 1/3] Backport r267486 gcc/testsuite/ChangeLog: 2018-12-31 Martin Liska * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. --- gcc/testsuite/g++.dg/tree-prof/devirt.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/tree-prof/devirt.C b/gcc/testsuite/g++.dg/tree-prof/devirt.C index 05c9a26e7a4..86cba41452e 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.20.1