[Bug c++/15012] Unexpected behaviour on i--

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 19 15:15:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-19 14:56 -------
Invalid as you are modifing i twice without a sequence point inbetween.
i = i-- + ++j;
^    ^

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


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



More information about the Gcc-bugs mailing list