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]

Patch: fix gcc.dg/20020312-2.c for Darwin x86


The comment about Darwin is correct for all Darwin targets, not just PowerPC.
Obvious.


Index: 20020312-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/20020312-2.c,v
retrieving revision 1.15
diff -u -d -b -w -p -r1.15 20020312-2.c
--- 20020312-2.c 3 Aug 2004 08:22:21 -0000 1.15
+++ 20020312-2.c 22 Mar 2005 18:21:55 -0000
@@ -120,7 +120,7 @@ main()
save and restore global registers. Not possible when the PIC
register is in a register window, of course. On Darwin, you can't
call library routines from non-PIC code. */
-#if !defined (__sparc__) && !(defined(__MACH__) && defined(__POWERPC__))
+#if !defined (__sparc__) && !defined(__MACH__)
if (reg)
abort ();
#endif



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