From: John David Anglin Date: Fri, 15 Jul 2011 18:15:16 +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.5.4~539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98225a5977e6f56fbedcda1af7010c73dfec8009;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: r176321 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34f298b5809d..884a6b30b2ff 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-12 Andrey Belevantsev Backport from mainline diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index eecba75131e4..ce0026fcc706 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -7126,7 +7126,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]));