Message ID | 20140321203813.GX1817@tucnak.redhat.com |
---|---|
State | New |
Headers | show |
On 03/21/2014 01:38 PM, Jakub Jelinek wrote: > PR target/60610 > * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH, > redefine to 1 or 0. > * config/i386/darwin.h (TARGET_64BIT_P): Redefine to > TARGET_ISA_64BIT_P(x). Ok. r~
--- gcc/config/i386/i386.h.jj 2014-03-18 10:04:14.000000000 +0100 +++ gcc/config/i386/i386.h 2014-03-21 17:50:22.465016379 +0100 @@ -284,10 +284,13 @@ extern const struct processor_costs ix86 #else #ifndef TARGET_BI_ARCH #undef TARGET_64BIT +#undef TARGET_64BIT_P #if TARGET_64BIT_DEFAULT #define TARGET_64BIT 1 +#define TARGET_64BIT_P(x) 1 #else #define TARGET_64BIT 0 +#define TARGET_64BIT_P(x) 0 #endif #endif #endif --- gcc/config/i386/darwin.h.jj 2014-01-03 11:41:06.000000000 +0100 +++ gcc/config/i386/darwin.h 2014-03-21 17:51:56.492536202 +0100 @@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. #define DARWIN_X86 1 #undef TARGET_64BIT +#undef TARGET_64BIT_P #define TARGET_64BIT TARGET_ISA_64BIT +#define TARGET_64BIT_P(x) TARGET_ISA_64BIT_P(x) #ifdef IN_LIBGCC2 #undef TARGET_64BIT