Pedwarn about auto parameter even without -Wpedantic.
authorJason Merrill <jason@redhat.com>
Tue, 13 Mar 2018 15:55:44 +0000 (11:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 Mar 2018 15:55:44 +0000 (11:55 -0400)
commit1d500c25165a5b708f1fc2088ba63c93a2c1eb94
tree98b3d0582451132e837485abba0003a491e0643b
parent426c1e2ec7b42902a80a20cb3965a69061b8345b
Pedwarn about auto parameter even without -Wpedantic.

* parser.c (cp_parser_simple_type_specifier): Pedwarn about auto
parameter even without -Wpedantic.

From-SVN: r258494
43 files changed:
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/concepts/abbrev1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/abbrev2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/fn-generic-member-ool.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58500.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58534.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58535.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58536.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58548.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr58549.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60052.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60053.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60064.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60065.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60377.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60390.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60391.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr60573.C [new file with mode: 0644]
gcc/testsuite/g++.dg/concepts/pr80471.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/auto-60626.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/auto-84662.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/fn-generic-member-ool.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58500.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58534.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58535.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58536.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58548.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr58549.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60052.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60053.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60064.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60065.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60377.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60390.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60391.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60573.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr60626.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr80471.C [deleted file]
gcc/testsuite/g++.dg/cpp1y/pr84662.C [deleted file]
gcc/testsuite/g++.dg/cpp1z/abbrev1.C [deleted file]
gcc/testsuite/g++.dg/cpp1z/abbrev2.C [deleted file]
gcc/testsuite/g++.dg/cpp1z/decomp3.C