PR target/49723
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Jul 2011 18:11:18 +0000 (18:11 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Jul 2011 18:11:18 +0000 (18:11 +0000)
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176319 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.md

index fdcb498..ed47e19 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/49723
+       * config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.
+
 2011-07-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR target/48220
index 7b22a01..6b86c89 100644 (file)
     {
       rtx index = gen_reg_rtx (SImode);
 
-      operands[1] = GEN_INT (-INTVAL (operands[1]));
+      operands[1] = gen_int_mode (-INTVAL (operands[1]), SImode);
       if (!INT_14_BITS (operands[1]))
        operands[1] = force_reg (SImode, operands[1]);
       emit_insn (gen_addsi3 (index, operands[0], operands[1]));