This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[3.4] Minor tweaks to the testsuite


This fixes an unexpected match on Solaris 10:

FAIL: gcc.dg/titype-1.c TI (test for errors, line 5)
FAIL: gcc.dg/uninit-C.c TI (test for errors, line 7)

Tested on Solaris 2.5.1, 2.6 and 10, applied to 3.4 branch.


2005-05-02  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* gcc.dg/titype-1.c: Fix dg-error target regexp.
	* gcc.dg/uninit-C.c: Likewise.


-- 
Eric Botcazou
Index: gcc.dg/titype-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/titype-1.c,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 titype-1.c
--- gcc.dg/titype-1.c	2 Feb 2004 16:14:58 -0000	1.1.2.2
+++ gcc.dg/titype-1.c	2 May 2005 06:31:08 -0000
@@ -2,7 +2,7 @@
 
 /* Not all platforms support TImode integers.  */
 #if defined(__LP64__) || defined(__sparc__)
-typedef int TItype __attribute__ ((mode (TI)));  /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6]* } } */
+typedef int TItype __attribute__ ((mode (TI)));  /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6] sparc-sun-solaris2.[0-6].* } } */
 #else
 typedef long TItype;
 #endif
Index: gcc.dg/uninit-C.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-C.c,v
retrieving revision 1.3
diff -u -r1.3 uninit-C.c
--- gcc.dg/uninit-C.c	5 Nov 2003 20:15:02 -0000	1.3
+++ gcc.dg/uninit-C.c	2 May 2005 06:31:08 -0000
@@ -4,7 +4,7 @@
 
 /* Not all platforms support TImode integers.  */
 #if defined(__LP64__) || defined(__sparc__)
-typedef int TItype __attribute__ ((mode (TI)));  /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6]* } } */
+typedef int TItype __attribute__ ((mode (TI)));  /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6] sparc-sun-solaris2.[0-6].* } } */
 #else
 typedef long TItype;
 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]