Commit 94bb1a2d by John David Anglin Committed by John David Anglin

re PR rtl-optimization/22239 (i-cobol.adb:482: error: unrecognizable insn)

	PR middle-end/22239
	* loop.c (loop_givs_rescan): Check that v->new_reg is a REG.

From-SVN: r101742
parent 1a59548b
2005-07-07 John David Anglin <dave.anglin@nrc-crc.gc.ca>
PR middle-end/22239
* loop.c (loop_givs_rescan): Check that v->new_reg is a REG.
2005-07-07 Khem Raj <kraj@mvista.com>
* config/arm/arm.c (thumb_output_function_prologue): Calculate offset
......
......@@ -5496,6 +5496,7 @@ loop_givs_rescan (struct loop *loop, struct iv_class *bl, rtx *reg_map)
v->new_reg));
else if (GET_CODE (*v->location) == PLUS
&& REG_P (XEXP (*v->location, 0))
&& REG_P (v->new_reg)
&& CONSTANT_P (XEXP (*v->location, 1)))
loop_insn_emit_before (loop, 0, v->insn,
gen_move_insn (XEXP (*v->location, 0),
......
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