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

From-SVN: r176359

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

index 01f8d5f9aba1594b7a704a718baf4d8ac4546dc7..656c5c71f2495be921791ecb226e51ec7a110297 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-04  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/49615
index ae29f609bd24c6da80e191f821c0b6dfc308854b..b7aac0795b81af9cef3f81270a1b7d59d7de762b 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]));