[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug c++/60095] Dubious diagnostics for attempted surrogate call function
From: "jason at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2016-05-31 21:37:06
Message-ID: bug-60095-4-IZQVRACAPE () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60095
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 31 21:36:34 2016
New Revision: 236953
URL: https://gcc.gnu.org/viewcvs?rev=236953&root=gcc&view=rev
Log:
PR c++/60095 - partial specialization of variable templates
PR c++/69515
PR c++/69009
* pt.c (instantiate_template_1): Don't put the partial
specialization in DECL_TI_TEMPLATE.
(partial_specialization_p, impartial_args): Remove.
(regenerate_decl_from_template): Add args parm.
(instantiate_decl): Look up the partial specialization again.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39a.C
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ51.C
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ52.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/pt.c
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39.C=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic