diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e82ca4b99ba..289bec38eaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 17 18:27:52 CET 2001 Jan Hubicka + + * cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal + edges resulting from computed jump + Mon Dec 17 17:57:05 CET 2001 Jan Hubicka * Makefile.in (cfgcleanup.o): Add cselib.h dependancy. diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index efc05313e07..08912c5d042 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -792,7 +792,7 @@ redirect_edge_and_branch (e, target) basic_block src = e->src; rtx insn = src->end; - if (e->flags & EDGE_COMPLEX) + if (e->flags & (EDGE_ABNORMAL_CALL | EDGE_EH)) return false; if (try_redirect_by_replacing_jump (e, target))