[PR c++/82710] false positive paren warning
authorNathan Sidwell <nathan@acm.org>
Fri, 3 Nov 2017 13:16:06 +0000 (13:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 3 Nov 2017 13:16:06 +0000 (13:16 +0000)
commita93ee058fa3f2b0569e43b425293f28858eebfaf
tree6fb5fdaa2630816d3d1b7476197b123d4463dacf
parent97695d99b0caa475df0a7b569fee6d3bef35b4d7
[PR c++/82710] false positive paren warning

https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00186.html
PR c++/82710
* decl.c (grokdeclarator): Protect MAYBE_CLASS things from paren
warning too.

PR c++/82710
* g++.dg/warn/pr82710.C: More cases.

From-SVN: r254371
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr82710.C