public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] Update g++.dg/other/pr84964.C for ia32 (and similar) targets.
@ 2022-03-11 17:50 Roger Sayle
  0 siblings, 0 replies; only message in thread
From: Roger Sayle @ 2022-03-11 17:50 UTC (permalink / raw)
  To: 'GCC Patches'

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]


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.

Committed as obvious.


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.

Sorry for the noise.
Roger
--


[-- Attachment #2: patchcp4b.txt --]
[-- Type: text/plain, Size: 479 bytes --]

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 "" }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-11 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 17:50 [Committed] Update g++.dg/other/pr84964.C for ia32 (and similar) targets Roger Sayle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).