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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-12-29 
21:15:46 UTC ---
Both values are correct.  

b++ +  inc() ;

can be evulated as:
tmp = b;
tmp + inc();
tmp = tmp + 1;
b = tmp;

Since there is no sequence point between the modifying of b and calling of inc.

Reply via email to