https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290
--- Comment #26 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #25) > The minmax is recorded as PR 101024. There is some more improvements to > gimple_simplify_phiopt needed for early_p as the way min/max patterns are > generated in match.pd (extra casts). The early_p part was fixed in r12-2185-g5f2d3ff4e5e2ec .