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++/14417] output streams and post-increment operator have incorrect output.


------- 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


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