diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f2908ef0613..dff82f487d30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-11-20 Joseph Myers + + * config/arm/thumb2.md (thumb2_casesi_internal, + thumb2_casesi_internal_pic): Use earlyclobber for scratch operand + 4. + 2008-11-20 Andreas Krebbel * 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 3278b63f015c..14b52d0af847 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"