This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]