Commit e49080ec by Jakub Jelinek Committed by Jakub Jelinek

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
parent 72d1f255
2014-03-21 Jakub Jelinek <jakub@redhat.com>
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 <wschmidt@linux.vnet.ibm.com> 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
......
...@@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -26,7 +26,9 @@ along with GCC; see the file COPYING3. If not see
#define DARWIN_X86 1 #define DARWIN_X86 1
#undef TARGET_64BIT #undef TARGET_64BIT
#undef TARGET_64BIT_P
#define TARGET_64BIT TARGET_ISA_64BIT #define TARGET_64BIT TARGET_ISA_64BIT
#define TARGET_64BIT_P(x) TARGET_ISA_64BIT_P(x)
#ifdef IN_LIBGCC2 #ifdef IN_LIBGCC2
#undef TARGET_64BIT #undef TARGET_64BIT
......
...@@ -284,10 +284,13 @@ extern const struct processor_costs ix86_size_cost; ...@@ -284,10 +284,13 @@ extern const struct processor_costs ix86_size_cost;
#else #else
#ifndef TARGET_BI_ARCH #ifndef TARGET_BI_ARCH
#undef TARGET_64BIT #undef TARGET_64BIT
#undef TARGET_64BIT_P
#if TARGET_64BIT_DEFAULT #if TARGET_64BIT_DEFAULT
#define TARGET_64BIT 1 #define TARGET_64BIT 1
#define TARGET_64BIT_P(x) 1
#else #else
#define TARGET_64BIT 0 #define TARGET_64BIT 0
#define TARGET_64BIT_P(x) 0
#endif #endif
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment