This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]