optimization/6164: incorrect code above optimization -O1
rth@gcc.gnu.org
rth@gcc.gnu.org
Thu Apr 4 02:50:00 GMT 2002
Synopsis: incorrect code above optimization -O1
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Apr 4 02:41:22 2002
State-Changed-Why:
Not a bug. This code violates ISO C aliasing rules.
With gcc, one can use a union, but even this isn't
strictly portable.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6164
More information about the Gcc-bugs
mailing list