[Bug regression/36787] Old value of global variable saved/restored between function call

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Jul 10 12:16:00 GMT 2008



------- Comment #3 from schwab at suse dot de  2008-07-10 12:15 -------
  reg = reg + myFunc();

There is no sequence point between the operands of the plus operator, thus it
is unspecified which one is evaluated first.


-- 

schwab at suse dot de changed:

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


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



More information about the Gcc-bugs mailing list