[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #7 from poftwaresatent at gmail dot com 2010-04-03 01:38 --- So, looks more like a documentation issue then, fine by me. Quote from basic_string.h: "Removes the characters in the range [pos,pos + n1) from this string. In place, the first @a n characters of @a

[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #5 from poftwaresatent at gmail dot com 2010-04-02 23:50 --- Created an attachment (id=20298) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20298&action=view) console output of "g++ -v -save-temps ..." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634

[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #4 from poftwaresatent at gmail dot com 2010-04-02 23:50 --- Created an attachment (id=20297) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20297&action=view) .s from "g++ -v -save-temps ..." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634

[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #3 from poftwaresatent at gmail dot com 2010-04-02 23:49 --- Created an attachment (id=20296) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20296&action=view) .ii from "g++ -v -save-temps ..." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634

[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #2 from poftwaresatent at gmail dot com 2010-04-02 23:49 --- Created an attachment (id=20295) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20295&action=view) .o from "g++ -v -save-temps ..." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634

[Bug libstdc++/43634] std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
--- Comment #1 from poftwaresatent at gmail dot com 2010-04-02 23:48 --- Created an attachment (id=20294) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20294&action=view) source file to trigger the bug and see that the workaround works -- http://gcc.gnu.org/b

[Bug libstdc++/43634] New: std::string::replace with C string can replace too many characters

2010-04-02 Thread poftwaresatent at gmail dot com
4.4.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: poftwaresatent at gmail dot com GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634

[Bug c++/40284] regression? ICE (segfault) on invalid virtual dtor in template

2009-05-28 Thread poftwaresatent at gmail dot com
--- Comment #1 from poftwaresatent at gmail dot com 2009-05-28 19:03 --- Created an attachment (id=17925) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17925&action=view) output from -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40284

[Bug c++/40284] New: regression? ICE (segfault) on invalid virtual dtor in template

2009-05-28 Thread poftwaresatent at gmail dot com
+ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: poftwaresatent at gmail dot com GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40284