https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92674
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Richard Guenther <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:c6480e01fc53f0e9822ec1694239155756430952 commit r9-8230-gc6480e01fc53f0e9822ec1694239155756430952 Author: Richard Biener <rguent...@suse.de> Date: Fri Feb 14 09:10:48 2020 +0100 middle-end/92674 delay purging EH edges when folding during inlining 2020-02-14 Richard Biener <rguent...@suse.de> Backport from mainline 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.