https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87264
--- Comment #6 from Ян Чуркин <yanchurkin at gmail dot com> --- (In reply to Ян Чуркин from comment #5) > Patch submitted to gcc-patches: > https://gcc.gnu.org/pipermail/gcc-patches/2026-June/721591.html > > Forces the predicate/comparator result to bool in std::__find_if, > std::__mismatch and std::__push_heap so that an ADL-reachable, > non-short-circuiting operator&& cannot cause the past-the-end iterator > to be dereferenced. Includes regression tests. Tested on > x86_64-pc-linux-gnu, no regressions. comment in the wrong place - sorry
