This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case
- From: "myan at microstrategy dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2008 15:33:00 -0000
- Subject: [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following change in basic_string.tcc is not valid in my usage. A java
application loads c++ jni shared library that is compiled with
-D_GLIBCXX_FULLY_DYNAMIC_STRING. Please see attached test files.
Revision 95358 - (view) (download) - [select for diffs]
Modified Mon Feb 21 23:25:08 2005 UTC (2 years, 10 months ago) by paolo
Original Path: trunk/libstdc++-v3/include/bits/basic_string.tcc
File length: 33828 byte(s)
Diff to previous 91466 (colored)
2005-02-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
check for this == &_S_empty_rep, it's always false, here.
--
Summary: c++ runtime of basic_string has a bug in certain case
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: myan at microstrategy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853