From: Jakub Jelinek Date: Fri, 21 Mar 2014 21:24:31 +0000 (+0100) Subject: re PR target/60610 (ICE in convert_regs_1, at reg-stack.c:3064) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e49080ec8a6bd3aedca6318703a6d337afdf7d8b;p=gcc.git re PR target/60610 (ICE in convert_regs_1, at reg-stack.c:3064) 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). From-SVN: r208756 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cddeabb750..ba749275b1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-03-21 Jakub Jelinek + + 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). + 2014-03-21 Bill Schmidt * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index 5c9b073b680..a85aa42d5fc 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. If not see #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 diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index c5c1d5886ca..51659deb309 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -284,10 +284,13 @@ extern const struct processor_costs ix86_size_cost; #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