re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 15 Jul 2011 18:11:18 +0000 (18:11 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 15 Jul 2011 18:11:18 +0000 (18:11 +0000)
PR target/49723
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

From-SVN: r176319

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

index fdcb498ed99faf3d5184d61a3e68eb2c0ae2a00a..ed47e19a7f32e662bc7f2a2a19fde834a78d3846 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 7b22a013ce7f740cadf4aa6bb0de2aaebfcd1181..6b86c8979473f06da43e06fc4bbaf3dd6e23e1ea 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]));