https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> --- Thus, to repeat, if we only want to avoid the regression part, it would be just matter of changing the code I added for c++/60265 to do qscope = CP_TYPE_CONTEXT (qscope) only when we end-up in a namespace. On the other hand, if we want to go beyond that we have a little more non-trivial work to do.