This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4733: Incorrect code when aliasing double and struct on ARM -O2
- From: toon at gcc dot gnu dot org
- To: bjh21 at netbsd dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 4 Feb 2002 21:29:02 -0000
- Subject: Re: optimization/4733: Incorrect code when aliasing double and struct on ARM -O2
- Reply-to: toon at gcc dot gnu dot org, bjh21 at netbsd dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Incorrect code when aliasing double and struct on ARM -O2
State-Changed-From-To: open->closed
State-Changed-By: toon
State-Changed-When: Mon Feb 4 13:29:02 2002
State-Changed-Why:
User error. The compiler is allowed to assume that the
struct and the double aren't aliased.
Use -fno-strict-aliasing if you want to compile this code
with gcc.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4733