This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/5328: Optimisation causes code ordering to be incorrect on x86
- From: jakub at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, iain dot templeton at cisra dot canon dot com dot au, nobody at gcc dot gnu dot org
- Date: 6 Feb 2002 16:05:09 -0000
- Subject: Re: optimization/5328: Optimisation causes code ordering to be incorrect on x86
- Reply-to: jakub at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, iain dot templeton at cisra dot canon dot com dot au, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Optimisation causes code ordering to be incorrect on x86
State-Changed-From-To: open->closed
State-Changed-By: jakub
State-Changed-When: Wed Feb 6 08:05:07 2002
State-Changed-Why:
This is not a bug. Compiler is free to do it.
See info gcc on -fstrict-aliasing, either fix that
code or use -fno-strict-aliasing.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5328