https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124331
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As I wrote in the other PR, perhaps add new bool argument to tsubst_qualified_id to tell it when tsubsting ^^SCOPE::identifier (or perhaps other cases too) and in that case avoid at least the finish_qualified_id_expr call. For ^^NONDEP::name outside of templates we don't call it either.
