https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92674
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Nov 27 08:52:17 2019 New Revision: 278757 URL: https://gcc.gnu.org/viewcvs?rev=278757&root=gcc&view=rev Log: 2019-11-27 Richard Biener <rguent...@suse.de> PR middle-end/92674 * tree-inline.c (expand_call_inline): Delay purging EH/abnormal edges and instead record blocks in bitmap. (gimple_expand_calls_inline): Adjust. (fold_marked_statements): Delay EH cleanup until all folding is done. (optimize_inline_calls): Do EH/abnormal cleanup for calls after inlining finished. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-inline.c