https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109691
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Still working on this but I ran into an issue where we now remove a dead > load but that load has an exception edge (due to -fnon-call-exceptions) and > we don't cleanup the eh edge and get an ICE due to that. > > FAIL: g++.dg/pr55263.C -std=gnu++14 (internal compiler error: > verify_flow_info failed) > > FAIL: g++.dg/tree-ssa/pr36766.C -std=gnu++14 (internal compiler error: > verify_flow_info failed) I have a fix, it was simplier than expected.