[Committed] Update g++.dg/other/pr84964.C for ia32 (and similar) targets.
authorRoger Sayle <roger@nextmovesoftware.com>
Fri, 11 Mar 2022 17:35:21 +0000 (17:35 +0000)
committerRoger Sayle <roger@nextmovesoftware.com>
Fri, 11 Mar 2022 17:35:21 +0000 (17:35 +0000)
The "sorry, unimplemented" message in the new g++.dg/other/pr84964.C is
apparently dependent upon whether the target passes multi-gigabyte
arguments on the stack.  This tweaks the testcase to just confirm that
it no longer ICEs, not the specific set of warnings/errors triggered.

2022-03-11  Roger Sayle  <roger@nextmovesoftware.com>

gcc/testsuite/ChangeLog
PR c++/84964
* g++.dg/other/pr84964.C: Tweak test to check for the ICE, not for
the (target-dependent) sorry.

gcc/testsuite/g++.dg/other/pr84964.C

index 0f2f6f3..48cbefb 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 
 struct a {
-  short b : -1ULL;  // { dg-warning "exceeds its type" }
+  short b : -1ULL;
 };
-void c(...) { c(a()); }  // { dg-message "sorry, unimplemented" }
-
+void c(...) { c(a()); }
+// { dg-excess-errors "" }