[Bug middle-end/18477] Wsequence-point false positive
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 14 17:09:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-14 17:09 -------
'=' is never a seqeunce point.
The code you gave is equivalent to:
*(data++) = (*data)+1;
data could be incemented before or after.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to fail| |3.3 3.1
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18477
More information about the Gcc-bugs
mailing list