This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]