From: Nathan Sidwell Date: Thu, 4 Jan 2018 15:49:28 +0000 (+0000) Subject: [PR c++/83667] Fix tree_dump ICE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc80e846ebdacda29ff21eced06898c7f35a4201;p=gcc.git [PR c++/83667] Fix tree_dump ICE https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00218.html PR c++/83667 * g++.dg/ipa/pr83667.C: Fix regex, require alias. From-SVN: r256254 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a6d4023b21..d871d49c5a3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-04 Nathan Sidwell + + PR c++/83667 + * g++.dg/ipa/pr83667.C: Fix regex, require alias. + 2018-01-04 Jakub Jelinek PR debug/83666 diff --git a/gcc/testsuite/g++.dg/ipa/pr83667.C b/gcc/testsuite/g++.dg/ipa/pr83667.C index 5fbfa8eb0e4..25522daf04b 100644 --- a/gcc/testsuite/g++.dg/ipa/pr83667.C +++ b/gcc/testsuite/g++.dg/ipa/pr83667.C @@ -1,5 +1,7 @@ -/* { dg-options "-fdump-ipa-inline" } */ -// c++/83667 ICE dumping a static thunk +// { dg-require-alias "" } +// { dg-options "-fdump-ipa-inline" } +// c++/83667 ICE dumping a static thunk when TARGET_USE_LOCAL_THUNK_ALIAS_P + struct a { @@ -20,4 +22,4 @@ struct c : a, b c c; -// { dg-final { scan-ipa-dump "summary for void c::\\*.LTHUNK0" "inline" } } +// { dg-final { scan-ipa-dump "summary for void c::\[^\\n\]*THUNK0" "inline" } }