User account creation filtered due to spam.
OS: Debian/GNU Linux "testing" distribution with gcc 3.3 suite
using namespace std;
cout << setw(-60) << "This is a test\n";
Compile with: g++ -o code code.cc
Segfaults in iostream call under g++-3.3, g++-3.2 but not g++-3.0 or
Comment: negative arguments in setw() changed the justification in earlier
versions of the gcc iostream library. Perhaps a warning should be issued
with negative argument?
I cannot reproduce this on the mainline (20030604) and 3.0.4, but I can do on 3.3.1 (20030526)
Fixed for 3.3.1 and 3.4.