Re: [PATCH] Run remove_unreachable_handlers before expansion if needed (PR tree-optimization/50682)

2011-11-28 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/23/11 13:42, Jakub Jelinek wrote: Hi! As mentioned in the PR, if gimple_purge_dead_eh_edges is ever called after ehcleanup2 pass (or in its after todos as in the testcase below), nothing removes the unreachable EH regions and we crash

[PATCH] Run remove_unreachable_handlers before expansion if needed (PR tree-optimization/50682)

2011-11-23 Thread Jakub Jelinek
Hi! As mentioned in the PR, if gimple_purge_dead_eh_edges is ever called after ehcleanup2 pass (or in its after todos as in the testcase below), nothing removes the unreachable EH regions and we crash either in cleanup_dead_labels_eh or, if we ignore those there, later on during emitting of