[Bug tree-optimization/101024] Missed min expression at phiopt1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 9 07:22:42 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #0)
> You will notice this is not caught by phiopt1 even though it should be while
> it is caught now (on the trunk) by phiopt2 (match-and-simplify).  That is
> the minmax_replacement does not handle the above case but match does.

This is now caught after r12-2185 but we have not moved minmax_replacement yet,
just got match-and-simplify working correctly on early phiopt (phiopt1).


More information about the Gcc-bugs mailing list