]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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:15:16 +0000 (18:15 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 15 Jul 2011 18:15:16 +0000 (18:15 +0000)
PR target/49723
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

From-SVN: r176321

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

index 34f298b5809d9f19bb77bb610887327c692c1d06..884a6b30b2ffdd066c4193dff0190a59a9b24792 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-12  Andrey Belevantsev  <abel@ispras.ru>
 
        Backport from mainline
index eecba75131e4d756653e427984defa21a90eb5aa..ce0026fcc7069500d58fd9f5136509913666a564 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]));