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]

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


> + #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~


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