This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/36787] Old value of global variable saved/restored between function call
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2008 12:15:21 -0000
- Subject: [Bug regression/36787] Old value of global variable saved/restored between function call
- References: <bug-36787-16447@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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