c/10426: -O2 messes with ordering of pointer dereferencing
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Thu Apr 17 14:24:00 GMT 2003
Synopsis: -O2 messes with ordering of pointer dereferencing
State-Changed-From-To: open->closed
State-Changed-By: ebotcazou
State-Changed-When: Thu Apr 17 14:24:48 2003
State-Changed-Why:
Not a bug. The compiler is allowed to evaluate the side-effect
operator in any order in *p++ = tolower(*p).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10426
More information about the Gcc-prs
mailing list