Re: [PATCH] Fix PR57147, fix edge removal code

2013-05-03 Thread Richard Biener
On Fri, 3 May 2013, Richard Biener wrote: > > The following fixes a bug in gimple_purge_dead_abnormal_call_edges > which happily removes a EDGE_FALLTHRU|EDGE_ABNORMAL edge. > The CFG builder via make_edge generally seems to merge edge flags > and edges for edges between the same basic-blocks, so

[PATCH] Fix PR57147, fix edge removal code

2013-05-03 Thread Richard Biener
The following fixes a bug in gimple_purge_dead_abnormal_call_edges which happily removes a EDGE_FALLTHRU|EDGE_ABNORMAL edge. The CFG builder via make_edge generally seems to merge edge flags and edges for edges between the same basic-blocks, so any abnormal call edges we insert may shadow the edge