diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | 2011-04-12 13:42:48 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2011-04-12 13:42:48 +0000 |
commit | ae59e00d17e296ccdaa5829ced97342bcf09971d (patch) | |
tree | b6dc98bab01bc8ebdb758a5383db60bc53b1364a | |
parent | cff1b7e0d21a81fb8b39811f13d7a940d89bdf5a (diff) | |
download | gcc-ae59e00d17e296ccdaa5829ced97342bcf09971d.zip gcc-ae59e00d17e296ccdaa5829ced97342bcf09971d.tar.gz gcc-ae59e00d17e296ccdaa5829ced97342bcf09971d.tar.bz2 |
re PR target/48090 (gcc 4.5.2 miscompilation when building on arm)
Fix PR target/48090
2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/48090
* config/arm/arm.md (*arm_negdi2): Fix early clobber constraints.
From-SVN: r172318
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a1ec50..6c130b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> + + PR target/48090 + * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. + 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> * recog.h (insn_operand_data): Add an "allows_mem" field. diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index e703a73..5e7b402 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -3696,7 +3696,7 @@ ;; The constraints here are to prevent a *partial* overlap (where %Q0 == %R1). ;; The first alternative allows the common case of a *full* overlap. (define_insn "*arm_negdi2" - [(set (match_operand:DI 0 "s_register_operand" "=&r,r") + [(set (match_operand:DI 0 "s_register_operand" "=r,&r") (neg:DI (match_operand:DI 1 "s_register_operand" "0,r"))) (clobber (reg:CC CC_REGNUM))] "TARGET_ARM" |