c/6917: optimization problem in gcc 3.1

reichelt@igpm.rwth-aachen.de reichelt@igpm.rwth-aachen.de
Fri Nov 22 08:19:00 GMT 2002


Synopsis: optimization problem in gcc 3.1

State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Fri Nov 22 08:17:30 2002
State-Changed-Why:
    Not a bug.
    
    You are not obeying the aliasing rules and thus invoking undefined behaviour.
    If you want the compiler not to perform optimizations based on alias-analysis,
    you can specify "-fno-strict-aliasing".

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6917



More information about the Gcc-bugs mailing list