aboutsummaryrefslogtreecommitdiff
path: root/libcpp/init.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2017-09-15 19:22:35 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2017-09-15 19:22:35 +0000
commitc01df3c86f72656e44ec1952b4e8019961ed7a4a (patch)
treed7b3d9d98a3f57cfbabaddeef8fe87934bfe6ae0 /libcpp/init.c
parent39ebef2cf14836141586d27e7b9c2660ab5490b1 (diff)
downloadgcc-c01df3c86f72656e44ec1952b4e8019961ed7a4a.zip
gcc-c01df3c86f72656e44ec1952b4e8019961ed7a4a.tar.gz
gcc-c01df3c86f72656e44ec1952b4e8019961ed7a4a.tar.bz2
re PR c++/64644 ("warning: anonymous union with no members" should be an error with -pedantic-errors)
/cp 2017-09-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org> Paolo Carlini <paolo.carlini@oracle.com> PR c++/64644 * decl2.c (finish_anon_union): Complain about "anonymous union with no members" with a pedwarn. /testsuite 2017-09-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org> Paolo Carlini <paolo.carlini@oracle.com> PR c++/64644 * g++.dg/other/anon-union4.C: New. * g++.old-deja/g++.law/union4.C: Adjust. * g++.old-deja/g++.other/anon1.C: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r252835
Diffstat (limited to 'libcpp/init.c')
0 files changed, 0 insertions, 0 deletions