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++/9062: gcc 3.2.0, 3.2.1 optimization bug with postincrement


Synopsis: gcc 3.2.0, 3.2.1 optimization bug with postincrement

State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Mon Dec 30 13:29:45 2002
State-Changed-Why:
    Not a bug.
    
    You're invoking undefined behaviour (the compiler may
    evaluate the left hand side and right hand side of
    *p++=tolower(*p);
    in any order - which changes with optimization.)

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


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