https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123621
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Shall we duplicate parts of tsubst_qualified_id here or add a new argument to it and if true, return earlier (maybe before finish_qualified_id_expr (at least if EXPR is a FIELD_DECL) or even before adjust_result_of_qualified_name_lookup)?
