This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/57813] Change of global variable ignored
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Jul 2013 22:37:39 +0000
- Subject: [Bug c/57813] Change of global variable ignored
- Auto-submitted: auto-generated
- References: <bug-57813-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57813
--- Comment #9 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Daniel Oertwig from comment #8)
> Ok, so: Is this behaviour "part" of the language or a bug in gcc?
> I could not find any documentation specifying that a sequence point should
> be inbetween the (side-effect) evaluation of the function call and the
> (value) evaluation of the assignment.
http://c-faq.com/expr/seqpoints.html
http://en.wikipedia.org/wiki/Sequence_point