[PR c++/82710] false positive paren warning
authorNathan Sidwell <nathan@acm.org>
Thu, 2 Nov 2017 18:26:29 +0000 (18:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 2 Nov 2017 18:26:29 +0000 (18:26 +0000)
commitdfa65d3fd1bfe62e2c831f7accf67855219b917f
treebd548651e16769c30fa4864f708eda2a2847a8fd
parente10dbae3dad0ac5269685620caa6f2698b00d669
[PR c++/82710] false positive paren warning

https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00119.html
PR c++/82710
* decl.c (grokdeclarator): Don't warn when parens protect a return
type from a qualified name.

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

From-SVN: r254349
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr82710.C [new file with mode: 0644]