https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127081

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think this is a similar problem to PR124888, as I've mentioned in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124888#c5
there are various cases of the FE performing lookups after parsing.
Unfortunately the simple fix for that PR can't handle cases like this easily.
So I think we need some mapping, if IL contains this, then we stream also
std::that if it exists (say __builtin_source_location call ->
std::source_location::__impl, SPACESHIP_EXPR ->
std::{strong,weak,partial}_ordering, etc.).

Reply via email to