This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/67084] [c++-concepts] Matching of variable template declarations ignores constraints


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]