[PR c++/83667] Fix tree_dump ICE
authorNathan Sidwell <nathan@acm.org>
Thu, 4 Jan 2018 15:49:28 +0000 (15:49 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 4 Jan 2018 15:49:28 +0000 (15:49 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr83667.C

index 5a6d4023b21ccdbcb2078a8cd418125f9db8c13c..d871d49c5a3e6aaab729f0a810cbe78686cbb012 100644 (file)
@@ -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
index 5fbfa8eb0e4cd76f772d623e1ff49d63b23fa58c..25522daf04be7b3478b5191fb02fce2077a88236 100644 (file)
@@ -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" } }