------- Additional Comments From steven at gcc dot gnu dot org 2005-05-16 00:16 ------- For CCP there is code to remove EH edges in tree-ssa-propagate.c, but it does not trigger: Breakpoint 3, substitute_and_fold (prop_value=0xf3e3a0) at tree-ssa-propagate.c:1063 1063 if (maybe_clean_eh_stmt (stmt)) (gdb) p debug_generic_stmt(stmt) # TMT.1D.2025_4 = V_MAY_DEF <TMT.1D.2025_3>; __builtin_fputc (97, fileD.2015_2); $2 = void (gdb) p maybe_clean_eh_stmt (stmt) $3 = 0 '\0' (gdb)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21399