r279472 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Dec 17 21:46:00 GMT 2019
Author: jason
Date: Tue Dec 17 21:46:11 2019
New Revision: 279472
URL: https://gcc.gnu.org/viewcvs?rev=279472&root=gcc&view=rev
Log:
PR c++/92576 - redeclaration of variable template.
The variable templates patch way back when forgot to add handling here. The
simplest answer seems to be recursing to the underlying declaration.
* decl.c (redeclaration_error_message): Recurse for variable
templates.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/var-templ65.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/g++.dg/cpp1y/var-templ32.C
More information about the Gcc-cvs
mailing list