cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal edges resulting from computed jump

* cfgrtl.c (redirect_edge_and_branch):  Do simplify abnormal
	edges resulting from computed jump

From-SVN: r48113
This commit is contained in:
Jan Hubicka 2001-12-17 18:56:04 +01:00 committed by Jan Hubicka
parent f438273e10
commit 25b44be580
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Dec 17 18:27:52 CET 2001 Jan Hubicka <jh@suse.cz>
* cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal
edges resulting from computed jump
Mon Dec 17 17:57:05 CET 2001 Jan Hubicka <jh@suse.cz>
* Makefile.in (cfgcleanup.o): Add cselib.h dependancy.

View File

@ -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))