This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37800] decrementation problem - different result in similar situations
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2008 17:06:16 -0000
- Subject: [Bug c++/37800] decrementation problem - different result in similar situations
- References: <bug-37800-16817@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo dot carlini at oracle dot com 2008-10-10 17:06 -------
(In reply to comment #2)
> isn't it?
What you or I believe doesn't matter here, the specifications in the C / C++
Standard do. If you want to write portable code simply you can't rely on that
order. If you want to learn more about those issues, just google for sequence
points, as already mentioned elsewhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37800