This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/57813] Change of global variable ignored


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]