PR middle-end/22239
* loop.c (loop_givs_rescan): Check that v->new_reg is a REG.
From-SVN: r101742
+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
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),