https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
David Edelsohn changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
--- Comment #6 from David Edelsohn ---
Author: dje
Date: Tue Nov 29 17:50:27 2016
New Revision: 242967
URL: https://gcc.gnu.org/viewcvs?rev=242967&root=gcc&view=rev
Log:
PR libstdc++/68838
* testsuite/lib/libstdc++.exp (DEFAULT_CXXFLAGS): Add -W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
--- Comment #5 from David Edelsohn ---
Sigh. The test is running out of memory.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
--- Comment #4 from David Edelsohn ---
On 32 bit AIX, wchar is 16 bits, two bytes. The libstdc++ code prepends
33554432 of fill, which is exactly 2*16777216 or 2^24 2 byte characters. Why is
2^24 special?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
--- Comment #3 from David Edelsohn ---
.good: 0 .fail: 1
width: 5000 size: 33554432
str_01[0]: 97
oss_01.str()[0]: 32
The string is filled with L'a' (0x97). The stringstream is filled with space
(0x32) and width is not set to 0 although size
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
--- Comment #2 from David Edelsohn ---
oss_01 is "good" with zero size until the string is emitted.
.good: 1 .fail: 0
size: 0
oss_01 << str_01;
.good: 0 .fail: 1
size: 33554432
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68838
David Edelsohn changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|