This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Apr 2012 19:43:43 +0000
- Subject: [Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored
- Auto-submitted: auto-generated
- References: <bug-52915-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52915
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-13 19:43:43 UTC ---
Author: jason
Date: Fri Apr 13 19:43:37 2012
New Revision: 186432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186432
Log:
PR c++/52915
* decl2.c (finish_anon_union): Use cp_finish_decl.
* error.c (dump_function_name): Avoid showing anonymous "name".
Added:
trunk/gcc/testsuite/g++.dg/other/anon-union2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/cp/error.c
trunk/gcc/testsuite/ChangeLog