This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24302] New: anonymous global union segfault with g++ 3.4.2 on solaris 8
- From: "jack dot alderson at xfab dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2005 22:30:35 -0000
- Subject: [Bug c++/24302] New: anonymous global union segfault with g++ 3.4.2 on solaris 8
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Using an anonymous global union causes g++ 3.4.2 to segfault on a Sun Ultra 5
running Solaris 8. Giving the anonymous union a name or making it a local
anonymous union allows it to compile successfully. A test compile of the same
code minus the -mcpu=ultrasparc flag on a SUSE LINUX 8.2 box using g++ 3.3
compiles successfully with no errors using the same anonymous union. I will
upload the small test files if I can find the option to do it.
--
Summary: anonymous global union segfault with g++ 3.4.2 on
solaris 8
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jack dot alderson at xfab dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24302