public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5481] testsuite: Adjust gcc.dg/cpp/if-2.c for 16-bit targets
@ 2023-11-15  7:56 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-11-15  7:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:da36a438d8e7f31c75f1085e3a525cb1b7d5f256

commit r14-5481-gda36a438d8e7f31c75f1085e3a525cb1b7d5f256
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Nov 15 08:55:16 2023 +0100

    testsuite: Adjust gcc.dg/cpp/if-2.c for 16-bit targets
    
    Jeff reported this testcase newly FAILs on 16-bit targets, the following
    patch adjusts the expected diagnostics for that case.
    
    2023-11-15  Jakub Jelinek  <jakub@redhat.com>
    
            * gcc.dg/cpp/if-2.c: Adjust expected diagnostics for 16-bit targets.

Diff:
---
 gcc/testsuite/gcc.dg/cpp/if-2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/cpp/if-2.c b/gcc/testsuite/gcc.dg/cpp/if-2.c
index e969aa0b473..2a3272dcd92 100644
--- a/gcc/testsuite/gcc.dg/cpp/if-2.c
+++ b/gcc/testsuite/gcc.dg/cpp/if-2.c
@@ -17,8 +17,8 @@
 #error 0x1234	/* { dg-bogus "error" "wide charconst recognition 3" } */
 #endif
 
-/* The 'character constant (is )?too long' message is produced by 16-bit targets.  */
-#if 'abcd' /* { dg-warning "(multi-character character constant)|(character constant (is )?too long)" "multi-character charconst" } */
+/* The 'multi-character literal with 4 characters exceeds 'int' size of \[0-9]+ bytes' message is produced by 16-bit targets.  */
+#if 'abcd' /* { dg-warning "(multi-character character constant)|(multi-character literal with 4 characters exceeds 'int' size of \[0-9]+ bytes)" "multi-character charconst" } */
 #endif
 
 #if 'abcdefghi' /* { dg-warning "multi-character literal with \[0-9]+ characters exceeds 'int' size of \[0-9]+ bytes" } */

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

only message in thread, other threads:[~2023-11-15  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15  7:56 [gcc r14-5481] testsuite: Adjust gcc.dg/cpp/if-2.c for 16-bit targets Jakub Jelinek

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).