https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only thing left to do to remove minmax_replacement, is the improvement mentioned in PR 95699 (or rather r11-1504-g2e0f4a18bc978c7362 ).