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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|needs-bisection             |
                 CC|                            |mpolacek at gcc dot gnu.org
   Last reconfirmed|                            |2022-01-26
           Priority|P3                          |P1
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
commit 30f2c22def7392119f1ffaca30ef998b3b43f336
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Jan 18 18:28:22 2022 -0500

    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.

    gcc/testsuite/ChangeLog:

            * g++.dg/parse/no-typename1.C: Remove expected error.
            * g++.dg/template/nested7.C: New test.

Reply via email to