Fix memclass5.C, memfriend10.C, var-templ19.C with -std=c++1z.
authorJason Merrill <jason@redhat.com>
Mon, 7 Dec 2015 04:34:51 +0000 (23:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Dec 2015 04:34:51 +0000 (23:34 -0500)
commitaabdb83166b53a13956071f0e01f841a184340f7
tree5f9e83453e33cd3a415991604a480c3fb9f00a73
parent5dc58049178775591a6e2dd04c9ce9cee4007dab
Fix memclass5.C, memfriend10.C, var-templ19.C with -std=c++1z.

* constraint.cc (strictly_subsumes): New.
* cp-tree.h: Declare it.
* pt.c (process_partial_specialization): Use it instead of
subsumes_constraints.
(maybe_new_partial_specialization): Do compare null constraints.
* search.c (lookup_member): Handle currently_open_class returning null.

From-SVN: r231350
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/search.c