Jason Merrill writes:
> On Thu, Dec 19, 2019 at 9:05 AM Christophe Lyon
> wrote:
>
>> On Tue, 17 Dec 2019 at 22:46, Jason Merrill wrote:
>> >
>> > The variable templates patch way back when forgot to add handling here.
>> The
>> > simplest answer seems to be recursing to the underlying declarati
On Thu, Dec 19, 2019 at 9:05 AM Christophe Lyon
wrote:
> On Tue, 17 Dec 2019 at 22:46, Jason Merrill wrote:
> >
> > The variable templates patch way back when forgot to add handling here.
> The
> > simplest answer seems to be recursing to the underlying declaration.
> >
> > Tested x86_64-pc-linu
On Tue, 17 Dec 2019 at 22:46, Jason Merrill wrote:
>
> The variable templates patch way back when forgot to add handling here. The
> simplest answer seems to be recursing to the underlying declaration.
>
> Tested x86_64-pc-linux-gnu, applying to trunk.
>
> * decl.c (redeclaration_error_me
The variable templates patch way back when forgot to add handling here. The
simplest answer seems to be recursing to the underlying declaration.
Tested x86_64-pc-linux-gnu, applying to trunk.
* decl.c (redeclaration_error_message): Recurse for variable
templates.
---
gcc/cp/decl