https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106534
--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 5 Aug 2022, burnus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106534 > > --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- > Seems as if the ICE is fixed for that file by reverting the following commit: > > commit r13-1963-gc832ec4c3ec4853ad89ff3b0dbf6e9454e75e8cc > middle-end: Fix phi-ssa assertion triggers. [PR106519] As hinted in the e-mail exchange the earlier two transforms might need guarding with !diamond_p since IIRC only minmax is capable of dealing with it?