https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262
--- Comment #5 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:25979b6761516b9039004385e08141e0925e1a17 commit r13-6833-g25979b6761516b9039004385e08141e0925e1a17 Author: Richard Biener <rguent...@suse.de> Date: Thu Mar 23 15:50:59 2023 +0100 tree-optimization/109262 - ICE with non-call EH and forwprop The recent combining of complex part loads to a complex load missed to account for non-call EH. PR tree-optimization/109262 * tree-ssa-forwprop.cc (pass_forwprop::execute): When combining a piecewise complex load avoid touching loads that throw internally. Use fun, not cfun throughout. * g++.dg/torture/pr109262.C: New testcase.