https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #6) > Yep - sorry for the noise, that should've been obvious. Patch at > https://chromium-review.googlesource.com/c/v8/v8/+/4583222. I would not have said it was obvious; I actually to look up where std::remove was declared and all. and then I had to search the preprocessed source to see where the declaration and use was located (which shows the obvious issue of the declaration being after the use [with a qualified name does not do depdendent lookups]).