aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2022-03-11 17:35:21 +0000
committerRoger Sayle <roger@nextmovesoftware.com>2022-03-11 17:35:21 +0000
commit098c538ae8c0c5e281d9191a6b54ffe38b624ef3 (patch)
tree04da153543befd64e24a1316c2154a0fa89ec09c
parenteb5edcf3f3ae008a1c55c88f08a886a5f350a759 (diff)
downloadgcc-098c538ae8c0c5e281d9191a6b54ffe38b624ef3.zip
gcc-098c538ae8c0c5e281d9191a6b54ffe38b624ef3.tar.gz
gcc-098c538ae8c0c5e281d9191a6b54ffe38b624ef3.tar.bz2
[Committed] Update g++.dg/other/pr84964.C for ia32 (and similar) targets.
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.
-rw-r--r--gcc/testsuite/g++.dg/other/pr84964.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/other/pr84964.C b/gcc/testsuite/g++.dg/other/pr84964.C
index 0f2f6f3..48cbefb 100644
--- a/gcc/testsuite/g++.dg/other/pr84964.C
+++ b/gcc/testsuite/g++.dg/other/pr84964.C
@@ -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 "" }