This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27951] [4.0/4.1/4.2 regression] ICE with invalid anonymous union
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2006 21:00:40 -0000
- Subject: [Bug c++/27951] [4.0/4.1/4.2 regression] ICE with invalid anonymous union
- References: <bug-27951-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-06-12 21:00 -------
Subject: Bug 27951
Author: reichelt
Date: Mon Jun 12 21:00:31 2006
New Revision: 114579
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114579
Log:
PR c++/27951
* decl2.c (finish_anon_union): Return early if build_anon_union_vars
fails.
* g++.dg/other/anon4.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/anon4.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl2.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27951