This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15507] New: hang laying out union
- From: "sdouglass at arm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2004 10:13:35 -0000
- Subject: [Bug c++/15507] New: hang laying out union
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
compiling this hangs:
struct A {
// empty
};
struct B : A {
int b;
};
union U {
A a;
B b;
};
--
Summary: hang laying out union
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sdouglass at arm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15507