https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105577
--- Comment #10 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:dfda40f8147412328f699628a54b0aaa584776e7 commit r13-373-gdfda40f8147412328f699628a54b0aaa584776e7 Author: Richard Biener <rguent...@suse.de> Date: Thu May 12 14:03:32 2022 +0200 rtl-optimization/105577 - RTL DSE and non-call EH When one of the first two stages of DSE removes a throwing stmt we have to purge dead EH edges before the DF re-analyze fires off a fast DCE since that cannot cope with the situation. 2022-05-12 Richard Biener <rguent...@suse.de> PR rtl-optimization/105577 * dse.cc (rest_of_handle_dse): Make sure to purge dead EH edges before running fast DCE via df_analyze.