c/1708

neil@gcc.gnu.org neil@gcc.gnu.org
Sun Apr 1 00:00:00 GMT 2001


The following reply was made to PR c/1708; it has been noted by GNATS.

From: neil@gcc.gnu.org
To: andyj@mc.com, gcc-gnats@gcc.gnu.org, modur@mc.com, neil@gcc.gnu.org,
  nobody@gcc.gnu.org
Cc:  
Subject: Re: c/1708
Date: 23 Feb 2001 22:03:04 -0000

 Synopsis: bitfield initializations not skipping anonymous fields
 
 Responsible-Changed-From-To: unassigned->neil
 Responsible-Changed-By: neil
 Responsible-Changed-When: Fri Feb 23 14:03:04 2001
 Responsible-Changed-Why:
     I wanted it.
 State-Changed-From-To: open->closed
 State-Changed-By: neil
 State-Changed-When: Fri Feb 23 14:03:04 2001
 State-Changed-Why:
     I can reproduce on x86 with 2.95.2, but 3.0 branch gives
     
     bash-2.04$ ./a.out 
     c= 255 == 255
     x.i= -16 != 16
     x.j= 17 == 17
     x.k= 18 == 18
     bash-2.04$ 
     
     which is correct.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1708&database=gcc



More information about the Gcc-prs mailing list