[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2022-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300

--- Comment #3 from CVS Commits  ---
The master branch has been updated by Jason Merrill :

https://gcc.gnu.org/g:30f2c22def7392119f1ffaca30ef998b3b43f336

commit r12-6754-g30f2c22def7392119f1ffaca30ef998b3b43f336
Author: Jason Merrill 
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.

[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2022-01-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300

Jason Merrill  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org
 Status|NEW |ASSIGNED

[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2022-01-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P1

--- Comment #2 from Richard Biener  ---
If 10.3.0 worked this makes it P1.

[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2021-09-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300

Patrick Palka  changed:

   What|Removed |Added

 Ever confirmed|0   |1
  Known to fail||11.1.0, 11.2.0, 12.0
 CC||jason at gcc dot gnu.org,
   ||ppalka at gcc dot gnu.org
Summary|[11/12 Regression]  |[10/11/12 Regression]
   |Qualified name of same  |Qualified name of same
   |template in class template  |template in class template
   |is rejected |is rejected
   Target Milestone|11.3|10.4
 Status|UNCONFIRMED |NEW
  Known to work||10.3.0
   Last reconfirmed||2021-09-13

--- Comment #1 from Patrick Palka  ---
Started with r11-8035 (which was also backported to the 10 branch as r10-9851)