[Bug c++/40326] object fails to allocate memory

2009-06-02 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-06-02 16:09 --- This is plain invalid. I suppose you want s( 8192, '=' ). In the testcase as written you are telling the relevant constructor to use the first 8192 chars of "="! -- paolo dot carlini at oracle dot com chang

[Bug c++/40326] object fails to allocate memory

2009-06-02 Thread rykunov at hotmail dot com
--- Comment #2 from rykunov at hotmail dot com 2009-06-02 15:59 --- command line and compiler options: $ g++ -o tst_str tst_str.cpp -save-temps -O0 -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/

[Bug c++/40326] object fails to allocate memory

2009-06-02 Thread rykunov at hotmail dot com
--- Comment #1 from rykunov at hotmail dot com 2009-06-02 15:49 --- Created an attachment (id=17945) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17945&action=view) example which reproduces the error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40326