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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 12.1 and 11.4 by:

    c++: template-id with current inst qualifier [PR102300]

    The patch for PR41723 properly changed one place to look into the current
    instantiation; now we need to fix this place as well.

            PR c++/102300

    gcc/cp/ChangeLog:

            * parser.cc (cp_parser_template_name): Use dependent_scope_p.

Probably a dup of PR 41723.

Reply via email to