This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/1708
- To: neil at gcc dot gnu dot org
- Subject: Re: c/1708
- From: Andy Johnson <andyj at mc dot com>
- Date: 24 Feb 2001 13:06:07 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Andy Johnson <andyj at mc dot com>
The following reply was made to PR c/1708; it has been noted by GNATS.
From: Andy Johnson <andyj@mc.com>
To: neil@gcc.gnu.org
Cc: gcc-gnats@gcc.gnu.org, modur@mc.com, nobody@gcc.gnu.org
Subject: Re: c/1708
Date: Sat, 24 Feb 2001 08:04:53 -0500
--------------AB0F0A0704A10603F16021CE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
So, where can I find a fix for the problem that I can apply to 2.95.2, since we
have no plans to upgrade to 3.0 in the immediate future?
-AndyJ
neil@gcc.gnu.org wrote:
> 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
--
E. Andrew Johnson Tel: 978-256-0052 x1482
Mercury Computer Systems Fax: 978-244-0520
199 Riverneck Road andyj@mc.com
Chelmsford, MA 01824-2820 http://www.ma.ultranet.com/~andyjnsn
--------------AB0F0A0704A10603F16021CE
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
So, where can I find a fix for the problem that I can apply to 2.95.2,
since we
<br>have no plans to upgrade to 3.0 in the immediate future?
<p>-AndyJ
<p>neil@gcc.gnu.org wrote:
<blockquote TYPE=CITE>Synopsis: bitfield initializations not skipping anonymous
fields
<p>Responsible-Changed-From-To: unassigned->neil
<br>Responsible-Changed-By: neil
<br>Responsible-Changed-When: Fri Feb 23 14:03:04 2001
<br>Responsible-Changed-Why:
<br> I wanted it.
<br>State-Changed-From-To: open->closed
<br>State-Changed-By: neil
<br>State-Changed-When: Fri Feb 23 14:03:04 2001
<br>State-Changed-Why:
<br> I can reproduce on x86 with 2.95.2, but 3.0 branch
gives
<p> bash-2.04$ ./a.out
<br> c= 255 == 255
<br> x.i= -16 != 16
<br> x.j= 17 == 17
<br> x.k= 18 == 18
<br> bash-2.04$
<p> which is correct.
<p><a href="http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1708&database=gcc">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1708&database=gcc</a></blockquote>
<p>--
<br>E. Andrew Johnson
Tel: 978-256-0052 x1482
<br>Mercury Computer Systems
Fax: 978-244-0520
<br>199 Riverneck Road
andyj@mc.com
<br>Chelmsford, MA 01824-2820 <A HREF="http://www.ma.ultranet.com/~andyjnsn">http://www.ma.ultranet.com/~andyjnsn</A>
<br> </html>
--------------AB0F0A0704A10603F16021CE--