From: jakub Date: Wed, 2 Jan 2019 09:25:59 +0000 (+0000) Subject: PR ipa/88561 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17ae0a2126368c87c765da8805372a84fb262e87;p=thirdparty%2Fgcc.git PR ipa/88561 * g++.dg/tree-prof/devirt.C: Expect _ZThn16 only for lp64 and llp64 targets and expect _ZThn8 for ilp32 targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267507 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6f603209cc7c..dfb1c97b61ed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-01-02 Jakub Jelinek + + PR ipa/88561 + * g++.dg/tree-prof/devirt.C: Expect _ZThn16 only for lp64 and llp64 + targets and expect _ZThn8 for ilp32 targets. + 2019-01-01 Martin Sebor Jeff Law diff --git a/gcc/testsuite/g++.dg/tree-prof/devirt.C b/gcc/testsuite/g++.dg/tree-prof/devirt.C index 7d6797dd2269..3de5dbcf688f 100644 --- a/gcc/testsuite/g++.dg/tree-prof/devirt.C +++ b/gcc/testsuite/g++.dg/tree-prof/devirt.C @@ -1,4 +1,6 @@ +/* PR ipa/88561 */ /* { dg-options "-O3 -fdump-tree-dom3-details" } */ + struct nsISupports { virtual int QueryInterface (const int &aIID, void **aInstancePtr) = 0; @@ -119,5 +121,6 @@ main () __builtin_abort (); } -/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 1 "dom3" } } */ +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 1 "dom3" { target { lp64 || llp64 } } } } */ +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn8" 1 "dom3" { target ilp32 } } } */ /* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" 1 "dom3" } } */