Re: [C++ PATCH] PR c++/83895

2018-01-22 Thread Nathan Sidwell
On 01/21/2018 09:21 AM, Ville Voutilainen wrote: Finishing testing the attached, OK for trunk? ok (I had thought typedefs would be covered by the decl_context == TYPENAME case, but I see that is not true.) nathan -- Nathan Sidwell

[C++ PATCH] PR c++/83895

2018-01-21 Thread Ville Voutilainen
Finishing testing the attached, OK for trunk? 2018-01-21 Ville Voutilainen PR c++/83895 cp/ * decl.c (grokdeclarator): Don't diagnose extra parens on typedefs. testsuite/ * g++.dg/warn/83895.C: New. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 039ddd9..230e7dd 1