https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106569 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I find those less obvious, for example does std::any_of guarantee some evaluation order?