mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-07 14:20:24 +08:00
* gcc.dg/20020312-2.c: Update for darwin.
From-SVN: r57320
This commit is contained in:
parent
307f767b38
commit
2ee2d707a7
@ -1,3 +1,7 @@
|
||||
2002-09-19 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* gcc.dg/20020312-2.c: Update for darwin.
|
||||
|
||||
2002-09-18 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.other/crash32.C: Mark ICE.
|
||||
|
@ -72,8 +72,8 @@
|
||||
/* No pic register. */
|
||||
#elif defined(__pj__)
|
||||
/* No pic register. */
|
||||
#elif defined(__powerpc__) || defined(__PPC__)
|
||||
# ifdef __darwin__
|
||||
#elif defined(__powerpc__) || defined(__PPC__) || defined(__POWERPC__)
|
||||
# ifdef __MACH__
|
||||
# define PIC_REG "31"
|
||||
# else
|
||||
# define PIC_REG "30"
|
||||
@ -144,8 +144,9 @@ main()
|
||||
|
||||
/* Additionally test that the prologue/epilogue properly does *not*
|
||||
save and restore global registers. Not possible when the PIC
|
||||
register is in a register window, of course. */
|
||||
#ifndef __sparc__
|
||||
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 (reg)
|
||||
abort ();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user