https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124597
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- maybe_clean_or_replace_eh_stmt is returning false here. That is because gsi_replace is being called with a true argument which is about update_eh_info. So the gimple fix is simple.
