This is the mail archive of the 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]

[committed] Fix gcc.dg/mips-args-1.c on IRIX

gcc.dg/mips-args-1.c was failing on IRIX after my patch for PR target/16830.
I have no idea how I failed to notice this when testing the patch, so sorry
for the sloppiness.

Tested on mips-sgi-irix6.5.  Applied to mainline.


	* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
	on IRIX.

Index: testsuite/gcc.dg/mips-args-1.c
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/mips-args-1.c,v
retrieving revision 1.1
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.1 mips-args-1.c
--- testsuite/gcc.dg/mips-args-1.c	25 Jul 2002 10:16:00 -0000	1.1
+++ testsuite/gcc.dg/mips-args-1.c	27 Nov 2004 09:01:15 -0000
@@ -12,7 +12,7 @@ const char *optimized_for = _MIPS_TUNE;
 /* Test complementary macro pairs: exactly one of each pair
    must be defined.  */
-#if defined (_R3000) == defined (_R4000)
+#if defined (_R3000) == defined (_R4000) && !defined (__sgi__)
 #error _R3000 / _R4000 mismatch
@@ -26,7 +26,7 @@ const char *optimized_for = _MIPS_TUNE;
 /* Check for __mips64 consistency.  */
-#if defined (__mips64) != defined (_R4000)
+#if defined (__mips64) != defined (_R4000) && !defined (__sgi__)
 #error __mips64 / _R4000 mismatch

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