[Bug c++/9925] ostrstream (buf, size) << "..." does not work properly

2006-06-14 Thread kspiteri at ieee dot org
--- Comment #25 from kspiteri at ieee dot org 2006-06-15 06:25 --- In reply to comment #24: > No it should not be. a() is a temporary so it cannot be bound to "a&". At > least it should not be. Then this is not a bug. The C++ standard in 27.6.2.1 defines * bas

[Bug c++/9925] ostrstream (buf, size) << "..." does not work properly

2006-06-14 Thread kspiteri at ieee dot org
--- Comment #23 from kspiteri at ieee dot org 2006-06-14 15:28 --- The test case in attachment 11669 shows that this bug has nothing to do with ostreams. The output from the test case should be: char char Instead, the output is: char void -- kspiteri at ieee dot org changed

[Bug c++/9925] ostrstream (buf, size) << "..." does not work properly

2006-06-14 Thread kspiteri at ieee dot org
--- Comment #22 from kspiteri at ieee dot org 2006-06-14 15:24 --- Created an attachment (id=11669) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11669&action=view) Minimal test case. Test case showing bug is independant of ostreams. -- http://gcc.gnu.org/b