aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-03-05 16:24:55 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-03-05 16:24:55 +0800
commit78a68e851a2f6f9d00367cd38eeedf670bb80f01 (patch)
tree5c2160260a756b7710dabba780337f890b2c1514 /gcc-4.7/gcc
parent125708b8e3afa6007ce3aa7132165d27b719ccc3 (diff)
downloadtoolchain_gcc-78a68e851a2f6f9d00367cd38eeedf670bb80f01.tar.gz
toolchain_gcc-78a68e851a2f6f9d00367cd38eeedf670bb80f01.tar.bz2
toolchain_gcc-78a68e851a2f6f9d00367cd38eeedf670bb80f01.zip
Fixed GCC 4.6/4.7 ICE gen_thumb_movhi_clobber at config/arm/arm.md:5832
See issue https://code.google.com/p/android/issues/detail?id=52732, and fix http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00732.html Change-Id: If4759a637e5fb6f9c351c11b79d7f9f682ca2ab2
Diffstat (limited to 'gcc-4.7/gcc')
-rw-r--r--gcc-4.7/gcc/config/arm/arm.h1
-rw-r--r--gcc-4.7/gcc/config/arm/arm.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.7/gcc/config/arm/arm.h b/gcc-4.7/gcc/config/arm/arm.h
index 443d2ed16..7ce48d13a 100644
--- a/gcc-4.7/gcc/config/arm/arm.h
+++ b/gcc-4.7/gcc/config/arm/arm.h
@@ -1159,6 +1159,7 @@ enum reg_class
(TARGET_32BIT ? (CLASS) : \
((CLASS) == GENERAL_REGS || (CLASS) == HI_REGS \
|| (CLASS) == NO_REGS || (CLASS) == STACK_REG \
+ || (CLASS) == CORE_REGS \
? LO_REGS : (CLASS)))
/* Must leave BASE_REGS reloads alone */
diff --git a/gcc-4.7/gcc/config/arm/arm.md b/gcc-4.7/gcc/config/arm/arm.md
index b21d0d253..fee20175f 100644
--- a/gcc-4.7/gcc/config/arm/arm.md
+++ b/gcc-4.7/gcc/config/arm/arm.md
@@ -6233,7 +6233,7 @@
(define_expand "reload_inhi"
[(parallel [(match_operand:HI 0 "s_register_operand" "=r")
(match_operand:HI 1 "arm_reload_memory_operand" "o")
- (match_operand:DI 2 "s_register_operand" "=&r")])]
+ (match_operand:DI 2 "s_register_operand" "=&l")])]
"TARGET_EITHER"
"
if (TARGET_ARM)