From: Daniel Bornstein Date: Tue, 17 Aug 2004 10:01:49 +0000 (+0000) Subject: re PR target/17019 (THUMB: bad switch statement in md code for addsi3_cbranch_scratch) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=108a579c02badf9b3eddc3d182516bd73c585a38;p=gcc.git re PR target/17019 (THUMB: bad switch statement in md code for addsi3_cbranch_scratch) From Daniel Bornstein PR target/17019 * arm.md (addsi3_cbranch_scratch): Correct case labels. From-SVN: r86114 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ece9c7b89c3..ca8f544901e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-17 Daniel Bornstein + + PR target/17019 + * arm.md (addsi3_cbranch_scratch): Correct case labels. + 2004-08-17 Paolo Bonzini PR middle-end/17036 diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index f19f8cd4ebe..26ac27899e2 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -6442,10 +6442,10 @@ case 1: output_asm_insn (\"cmn\t%1, %2\", operands); break; - case 3: + case 2: output_asm_insn (\"add\t%0, %1, %2\", operands); break; - case 4: + case 3: output_asm_insn (\"add\t%0, %0, %2\", operands); break; }