This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67084] [c++-concepts] Matching of variable template declarations ignores constraints
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Aug 2015 05:07:42 +0000
- Subject: [Bug c++/67084] [c++-concepts] Matching of variable template declarations ignores constraints
- Auto-submitted: auto-generated
- References: <bug-67084-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67084
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug 4 05:07:10 2015
New Revision: 226546
URL: https://gcc.gnu.org/viewcvs?rev=226546&root=gcc&view=rev
Log:
PR c++/67084
* pt.c (spec_hasher::equal): Compare constraints.
(check_explicit_specialization): Don't register partial specs.
(process_partial_specialization): Register them here.
(lookup_template_class_1): Clear elt.spec.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/partial-spec2.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/pt.c