[Bug c++/27951] [4.0/4.1/4.2 regression] ICE with invalid anonymous union
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 12 21:00:00 GMT 2006
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-06-12 20:55 -------
Subject: Bug 27951
Author: reichelt
Date: Mon Jun 12 20:55:42 2006
New Revision: 114578
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114578
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_1-branch/gcc/testsuite/g++.dg/other/anon4.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl2.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27951
More information about the Gcc-bugs
mailing list