This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50425] precedence rule for pre/post increamet/decreament and effect of white spaces
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Sep 2011 18:21:31 +0000
- Subject: [Bug c/50425] precedence rule for pre/post increamet/decreament and effect of white spaces
- Auto-submitted: auto-generated
- References: <bug-50425-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50425
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-09-15 18:21:31 UTC ---
This is not a good place to learn C/C++ really. But anyways the order of
evulating of the operands of + is not specified and could happen in either
order as there is no sequence point. Read http://c-faq.com/expr/seqpoints.html
.