re PR c++/52915 ([C++11] Deleted default-constructor of anonymous unions not honored)
authorJason Merrill <jason@redhat.com>
Fri, 13 Apr 2012 19:43:37 +0000 (15:43 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Apr 2012 19:43:37 +0000 (15:43 -0400)
commit7996b7273cfb3b494e5c31e8c68e0f7fd9c87aa1
treec11af1b0dcd2c5c9186d0e3172296dd8e2dc6240
parent6573c644e83d576fd16847d5c21a26c2f0500921
re PR c++/52915 ([C++11] Deleted default-constructor of anonymous unions not honored)

PR c++/52915
* decl2.c (finish_anon_union): Use cp_finish_decl.
* error.c (dump_function_name): Avoid showing anonymous "name".

From-SVN: r186432
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/anon-union2.C [new file with mode: 0644]