[Bug c++/71875] [5/6 Regression] template specialization compile error
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 14 10:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71875
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
CC| |marxin at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, it was fixed on trunk by r236946:
commit 4a2d1b33a26657aeddb839adf306e29123526452
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue May 31 19:49:16 2016 +0000
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.
I'm going to verify the behavior of HEADs of 5 and 6 branches.
More information about the Gcc-bugs
mailing list