This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/5929: gcc 2.95-3.04 miscompiles anonymous unions inside anonymous structs


Synopsis: gcc 2.95-3.04 miscompiles anonymous unions inside anonymous structs

Responsible-Changed-From-To: unassigned->neil
Responsible-Changed-By: neil
Responsible-Changed-When: Tue Mar 12 15:36:37 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Tue Mar 12 15:36:37 2002
State-Changed-Why:
    I fixed this for 3.1, which will give:
    
    neil@cat:/tmp$ ./a.out 
    offset v1 = 0
    offset v2 = 4
    offset v3 = 8
    offset u1 = 12
    offset u2 = 12
    neil@cat:/tmp$

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5929


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]