https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199
--- Comment #25 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:92ce93c743b3c81f6911bc3d06056099369e9191 commit r10-6084-g92ce93c743b3c81f6911bc3d06056099369e9191 Author: Martin Liska <mli...@suse.cz> Date: Mon Jan 20 11:10:30 2020 +0100 Record outer non-cleanup region in TREE EH. PR tree-optimization/93199 * tree-eh.c (struct leh_state): Add new field outer_non_cleanup. (cleanup_is_dead_in): Pass leh_state instead of eh_region. Add a checking that state->outer_non_cleanup points to outer non-clean up region. (lower_try_finally): Record outer_non_cleanup for this_state. (lower_catch): Likewise. (lower_eh_filter): Likewise. (lower_eh_must_not_throw): Likewise. (lower_cleanup): Likewise.