aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-01-04 15:49:28 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-01-04 15:49:28 +0000
commitbc80e846ebdacda29ff21eced06898c7f35a4201 (patch)
tree23ebb50f77aea652b746ccfce2a54965d76b6f73 /gcc
parent41baa38bf6f9114826b5395edbebe933a7936c1b (diff)
downloadgcc-bc80e846ebdacda29ff21eced06898c7f35a4201.zip
gcc-bc80e846ebdacda29ff21eced06898c7f35a4201.tar.gz
gcc-bc80e846ebdacda29ff21eced06898c7f35a4201.tar.bz2
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/ipa/pr83667.C8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5a6d402..d871d49 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-04 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/83667
+ * g++.dg/ipa/pr83667.C: Fix regex, require alias.
+
2018-01-04 Jakub Jelinek <jakub@redhat.com>
PR debug/83666
diff --git a/gcc/testsuite/g++.dg/ipa/pr83667.C b/gcc/testsuite/g++.dg/ipa/pr83667.C
index 5fbfa8e..25522da 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" } }