diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-03-21 22:24:31 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-03-21 22:24:31 +0100 |
commit | e49080ec8a6bd3aedca6318703a6d337afdf7d8b (patch) | |
tree | ed6aef3bfa3e2656609c28c64e225b416b57940b /gcc | |
parent | 72d1f255ae34d00e29189d58eda27250f8a9ff0e (diff) | |
download | gcc-e49080ec8a6bd3aedca6318703a6d337afdf7d8b.zip gcc-e49080ec8a6bd3aedca6318703a6d337afdf7d8b.tar.gz gcc-e49080ec8a6bd3aedca6318703a6d337afdf7d8b.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/i386/darwin.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cddeab..ba74927 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +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> * 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 5c9b073..a85aa42 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 c5c1d58..51659de 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 |