This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: fix gcc.dg/20020312-2.c for Darwin x86
- From: Dale Johannesen <dalej at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Dale Johannesen <dalej at apple dot com>
- Date: Tue, 22 Mar 2005 10:31:39 -0800
- Subject: 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