From 1be0310c7632cef484195acf96dea08aa0d9a753 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Fri, 15 Jul 2011 18:11:18 +0000 Subject: [PATCH] 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: r176319 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdcb498ed99..ed47e19a7f3 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-15 Eric Botcazou PR target/48220 diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 7b22a013ce7..6b86c897947 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -6913,7 +6913,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])); -- 2.30.2