[Bug c/17282] x = y++ + x++ operation wrongly implemented on solaris version

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 3 05:23:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-03 05:23 -------
Nope x = x++; is undefined so is x = 1 + x++; or x = y++ + x++;, you are modifing x twice in 
without a sequence point inbetween.

*** This bug has been marked as a duplicate of 11751 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17282



More information about the Gcc-bugs mailing list