20020312-2.c: Fix for non-PowerPC Darwin.

2005-03-23  Dale Johannesen  <dalej@apple.com>

        * gcc.dg/20020312-2.c:  Fix for non-PowerPC Darwin.

From-SVN: r96939
This commit is contained in:
Dale Johannesen 2005-03-23 18:26:12 +00:00 committed by Dale Johannesen
parent 47c0c7d7eb
commit e69d504e58
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-03-23 Dale Johannesen <dalej@apple.com>
* gcc.dg/20020312-2.c: Fix for non-PowerPC Darwin.
2005-03-23 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.warn/compare1.C: Run with -Wno-deprecated.

View File

@ -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