Patch: adjust gcc.dg/20020919-1.c for x86 Darwin

Richard Henderson rth@gcc.gnu.org
Mon Mar 28 22:36:00 GMT 2005


> + #if defined (__MACH__)
> + /* On Darwin -fpic is on by default, so don't use %ebx. */
> + # define REG3 "%esi"
> + # define REG4 "%edi"
> + #else
>   # define REG3 "%ecx"
>   # define REG4 "%ebx"
> + #endif

Or you could just change the registers for all x86...


r~



More information about the Gcc-patches mailing list