Commit 1be0310c by John David Anglin Committed by John David Anglin

re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at…

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
parent 12c5ffe5
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-15 Eric Botcazou <ebotcazou@adacore.com>
PR target/48220
......
......@@ -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]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment