https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121476
--- Comment #1 from Tomasz KamiĆski <tkaminsk at gcc dot gnu.org> --- I see this is not case limited to clamp, as all_of, none_of and most of the search algorithms are in similar boat. We should most like update them all at once.