[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 20:56:00 GMT 2006
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-06-12 20:51 -------
Subject: Bug 27951
Author: reichelt
Date: Mon Jun 12 20:50:53 2006
New Revision: 114577
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114577
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:
trunk/gcc/testsuite/g++.dg/other/anon4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27951
More information about the Gcc-bugs
mailing list