re PR c++/83592 (Annoying -Wparentheses warnings)
authorMarek Polacek <polacek@redhat.com>
Wed, 3 Jan 2018 13:30:00 +0000 (13:30 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 3 Jan 2018 13:30:00 +0000 (13:30 +0000)
commite164534f16c838373ab888e0b36ab5e103d32e25
treef84a6b0770f94d4389606d696a09ec5047526a22
parente30947eb0b94078f5d87c84fe111434ef5e1191e
re PR c++/83592 (Annoying -Wparentheses warnings)

PR c++/83592
* decl.c (grokdeclarator): Don't warn about MVP in typename context.

* g++.dg/warn/mvp2.C: New test.

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