tree-ssa-pre.c (insert_aux): Break out if we hit a critical edge.

2004-07-16  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-pre.c (insert_aux): Break out if we hit
	a critical edge.

From-SVN: r84841
This commit is contained in:
Daniel Berlin 2004-07-16 22:51:48 +00:00 committed by Daniel Berlin
parent 6809cbf90d
commit 3f7d210dfb
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-07-16 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (insert_aux): Break out if we hit
a critical edge.
2004-07-16 Richard Henderson <rth@redhat.com>
* basic-block.h (remove_fake_exit_edges): Declare.

View File

@ -1457,6 +1457,15 @@ insert_aux (basic_block block)
{
tree vprime;
tree edoubleprime;
/* This can happen in the very weird case
that our fake infinite loop edges have caused a
critical edge to appear. */
if (EDGE_CRITICAL_P (pred))
{
cant_insert = true;
break;
}
bprime = pred->src;
eprime = phi_translate (node->expr,
ANTIC_IN (block),