Commit 035a6890 by J"orn Rennecke Committed by Joern Rennecke

Fix for SH gcc.c-torture/compile/991229-3.c failure:

	* loop.c (reg_in_basic_block_p): Don't abort when falling through
	to the end of the function.

From-SVN: r32229
parent 18c038b9
Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (reg_in_basic_block_p): Don't abort when falling through
to the end of the function.
2000-02-27 Mark Mitchell <mark@codesourcery.com> 2000-02-27 Mark Mitchell <mark@codesourcery.com>
* emit-rtl.c (remove_unncessary_notes): Remove notes for empty * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
......
...@@ -1284,8 +1284,12 @@ reg_in_basic_block_p (insn, reg) ...@@ -1284,8 +1284,12 @@ reg_in_basic_block_p (insn, reg)
} }
} }
/* The "last use" doesn't follow the "first use"?? */ /* The "last use" that was recorded can't be found after the first
abort (); use. This can happen when the last use was deleted while
processing an inner loop, this inner loop was then completely
unrolled, and the outer loop is always exited after the inner loop,
so that everything after the first use becomes a single basic block. */
return 1;
} }
/* Compute the benefit of eliminating the insns in the block whose /* Compute the benefit of eliminating the insns in the block whose
......
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