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

Reply via email to