This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7557: gcc-3.1.1 (debian/i386): wrong code with -O2 / bitfields / pointer aliasing
- From: sirl at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, js at convergence dot de, nobody at gcc dot gnu dot org
- Date: 9 Aug 2002 19:05:00 -0000
- Subject: Re: optimization/7557: gcc-3.1.1 (debian/i386): wrong code with -O2 / bitfields / pointer aliasing
- Reply-to: sirl at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, js at convergence dot de, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: gcc-3.1.1 (debian/i386): wrong code with -O2 / bitfields / pointer aliasing
State-Changed-From-To: open->closed
State-Changed-By: sirl
State-Changed-When: Fri Aug 9 12:05:00 2002
State-Changed-Why:
You have written undefined C code (hint: the compiler is
free to assume that fs, *f and *p are diffrent objects),
either fixup your code or compile with -fno-strict-aliasing.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7557