This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14417] output streams and post-increment operator have incorrect output.
- From: "mcvick_e at iname dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 23:09:19 -0000
- Subject: [Bug c++/14417] output streams and post-increment operator have incorrect output.
- References: <20040303205908.14417.mcvick_e@iname.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mcvick_e at iname dot com 2004-03-03 23:09 -------
(In reply to comment #1)
> No bug, please read the page on frequently reported bugs. operator<<
> is not a sequence point, so the question of when the pointer is
> increased and when it is dereferenced is undefined.
>
> W.
It's interesting that this has worked historically. I see g++ 2.9.5 work
appropriately on our Sun Solaris stations, as well as V3 work appropriately on
our Macintosh systems.
I guess we'll resort to using something that actually works as most people
would expect it to.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14417