Commit e10f3d36 by Franz Sirl Committed by Franz Sirl

re PR c++/4512 (New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1)

	2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c++/4512
	* unroll.c (loop_iterations): Ignore insns generated by loop
	unrolling.

From-SVN: r46153
parent 6cb3ae1e
2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c++/4512
* unroll.c (loop_iterations): Ignore insns generated by loop
unrolling.
* config.gcc (mips*-*-gnu*): Delete support.
* config/mips/gnu.h: Remove.
......
......@@ -3527,6 +3527,11 @@ loop_iterations (loop)
do
{
/* Previous unrolling may have generated new insns not covered
by the uid_luid array. */
if (INSN_UID (temp) >= max_uid_for_loop)
continue;
if (GET_CODE (temp) == JUMP_INSN
&& INSN_LUID (JUMP_LABEL (temp)) > INSN_LUID (loop->top)
&& INSN_LUID (JUMP_LABEL (temp)) < INSN_LUID (loop->cont))
......
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