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

2008-07-10 Thread lauren dot bedoule at gmail dot com
--- Comment #1 from lauren dot bedoule at gmail dot com 2008-07-10 11:46 --- Created an attachment (id=15886) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15886action=view) c code printing the erroneous result -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36787

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

2008-07-10 Thread lauren dot bedoule at gmail dot com
--- Comment #2 from lauren dot bedoule at gmail dot com 2008-07-10 11:53 --- Created an attachment (id=15887) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15887action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36787

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

2008-07-10 Thread schwab at suse dot de
--- 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