https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100308
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:8ddce3f7d0db060885df24e41dd289173ec774a0 commit r12-247-g8ddce3f7d0db060885df24e41dd289173ec774a0 Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 28 09:34:03 2021 +0200 ipa/100308 - properly update the callgraph when pruning EH in IPA CP This makes sure to fall into the delete_unreachable_blocks_update_callgraph handling to remove blocks becoming unreachable when removing EH edges by tracking blocks to need EH cleanup and doing that after releasing dominance info. This fixes an ICE seen with gfortran.dg/gomp/pr88933.f90 when enhancing DSE. 2021-04-28 Richard Biener <rguent...@suse.de> PR ipa/100308 * ipa-prop.c (ipcp_modif_dom_walker::before_dom_children): Track blocks to cleanup EH in new m_need_eh_cleanup. (ipcp_modif_dom_walker::cleanup_eh): New. (ipcp_transform_function): Release dominator info before doing EH cleanup.