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

--- Comment #1 from Andrzej Krzemienski <akrzemi1 at gmail dot com> ---
Note that the behavior of GCC cannot be called non conformant with the C++
Standard, as the Standard is very unclear: it does not define the term
"immediate context", but later refers to it.

The problem reported here is that GCC appears not to have a self-consistent
behavior. If this is considered "working as designed", I would appreciate a
description of the mechanism and the logic behind it, so that the users can
predict what will happen in different situations/contexts.

Reply via email to