From: John David Anglin Date: Sat, 16 Jul 2011 18:33:43 +0000 (+0000) Subject: re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine... X-Git-Tag: releases/gcc-4.4.7~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74dc40456686b9637118ea5f0c2b7a5bfe4a887;p=thirdparty%2Fgcc.git re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above) PR target/49723 * config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT. From-SVN: r176359 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01f8d5f9aba1..656c5c71f249 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-15 John David Anglin + + PR target/49723 + * config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT. + 2011-07-04 Richard Guenther PR tree-optimization/49615 diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index ae29f609bd24..b7aac0795b81 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -7576,7 +7576,7 @@ { 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]));