c/9266: decrement pointer side effects are not working properly

bangerth@dealii.org bangerth@dealii.org
Mon Jan 13 05:17:00 GMT 2003


Synopsis: decrement pointer side effects are not working properly

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 10 13:28:13 2003
State-Changed-Why:
    You're changing the same variable twice in the same statement,
    and the result depends on the order in which this happens.
    This invokes undefined behavior -- don't do this.
    
    W.

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



More information about the Gcc-bugs mailing list