http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51481
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 10:24:49 UTC --- Created attachment 26053 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26053 gcc47-pr51481.patch maybe_cleanup_or_replace_eh_stmt wasn't called, the patch fixes that. Unfortunately, as it is deep inside of fold_stmt called from deep from various passes, including cfg cleanup, I'm afraid handling eh edge dropping as opposed to just replacing would be hard. Let's just hope possibly throwing builtins aren't optimized away.