optimization/4733: Incorrect code when aliasing double and struct on ARM -O2

toon@gcc.gnu.org toon@gcc.gnu.org
Mon Feb 4 13:32:00 GMT 2002


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



More information about the Gcc-bugs mailing list