From: Daniel Berlin Date: Fri, 16 Jul 2004 22:51:48 +0000 (+0000) Subject: tree-ssa-pre.c (insert_aux): Break out if we hit a critical edge. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f7d210dfb6639949b9b2f0f6dc04cb4124d85b6;p=gcc.git tree-ssa-pre.c (insert_aux): Break out if we hit a critical edge. 2004-07-16 Daniel Berlin * tree-ssa-pre.c (insert_aux): Break out if we hit a critical edge. From-SVN: r84841 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df18afadb82..a89927f3f14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Daniel Berlin + + * tree-ssa-pre.c (insert_aux): Break out if we hit + a critical edge. + 2004-07-16 Richard Henderson * basic-block.h (remove_fake_exit_edges): Declare. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index ba4be7b82d3..a6943980229 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -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),