aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/thumb2.md4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3f2908e..dff82f4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-20 Joseph Myers <joseph@codesourcery.com>
+
+ * config/arm/thumb2.md (thumb2_casesi_internal,
+ thumb2_casesi_internal_pic): Use earlyclobber for scratch operand
+ 4.
+
2008-11-20 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc/config/s390/s390.c (s390_expand_atomic): Adjust QI/HI atomic
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 3278b63..14b52d0 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -949,7 +949,7 @@
(label_ref (match_operand 2 "" ""))))
(label_ref (match_operand 3 "" ""))))
(clobber (reg:CC CC_REGNUM))
- (clobber (match_scratch:SI 4 "=r"))
+ (clobber (match_scratch:SI 4 "=&r"))
(use (label_ref (match_dup 2)))])]
"TARGET_THUMB2 && !flag_pic"
"* return thumb2_output_casesi(operands);"
@@ -966,7 +966,7 @@
(label_ref (match_operand 2 "" ""))))
(label_ref (match_operand 3 "" ""))))
(clobber (reg:CC CC_REGNUM))
- (clobber (match_scratch:SI 4 "=r"))
+ (clobber (match_scratch:SI 4 "=&r"))
(clobber (match_scratch:SI 5 "=r"))
(use (label_ref (match_dup 2)))])]
"TARGET_THUMB2 && flag_pic"