public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34853]  New: c++ runtime of basic_string has a bug in certain case
@ 2008-01-18 15:36 myan at microstrategy dot com
  2008-01-18 15:36 ` [Bug c++/34853] " myan at microstrategy dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 15:36 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
@ 2008-01-18 15:36 ` myan at microstrategy dot com
  2008-01-18 15:48 ` myan at microstrategy dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 15:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from myan at microstrategy dot com  2008-01-18 15:34 -------
Created an attachment (id=14968)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14968&action=view)
C++ source


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
  2008-01-18 15:36 ` [Bug c++/34853] " myan at microstrategy dot com
@ 2008-01-18 15:48 ` myan at microstrategy dot com
  2008-01-18 16:02 ` myan at microstrategy dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from myan at microstrategy dot com  2008-01-18 15:34 -------
Created an attachment (id=14969)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14969&action=view)
C++ header


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
  2008-01-18 15:36 ` [Bug c++/34853] " myan at microstrategy dot com
  2008-01-18 15:48 ` myan at microstrategy dot com
@ 2008-01-18 16:02 ` myan at microstrategy dot com
  2008-01-18 16:06 ` myan at microstrategy dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 16:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from myan at microstrategy dot com  2008-01-18 15:35 -------
Created an attachment (id=14970)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14970&action=view)
Java application


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
                   ` (2 preceding siblings ...)
  2008-01-18 16:02 ` myan at microstrategy dot com
@ 2008-01-18 16:06 ` myan at microstrategy dot com
  2008-01-18 16:08 ` myan at microstrategy dot com
  2008-01-19 21:06 ` [Bug libstdc++/34853] " pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from myan at microstrategy dot com  2008-01-18 15:35 -------
Created an attachment (id=14971)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14971&action=view)
makefile 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
                   ` (3 preceding siblings ...)
  2008-01-18 16:06 ` myan at microstrategy dot com
@ 2008-01-18 16:08 ` myan at microstrategy dot com
  2008-01-19 21:06 ` [Bug libstdc++/34853] " pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: myan at microstrategy dot com @ 2008-01-18 16:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from myan at microstrategy dot com  2008-01-18 15:35 -------
Created an attachment (id=14972)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14972&action=view)
shell script to run the test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/34853] c++ runtime of basic_string has a bug in certain case
  2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
                   ` (4 preceding siblings ...)
  2008-01-18 16:08 ` myan at microstrategy dot com
@ 2008-01-19 21:06 ` pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2008-01-19 21:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pcarlini at suse dot de  2008-01-19 20:24 -------
This is not a bug, and already spuriously reported: yu *cannot* use
-D_GLIBCXX_FULLY_DYNAMIC_STRING, it's completely unsupported and not described
anywhere in the documentation. You can only completely rebuild the library with
--enable-fully-dynamic-string.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34853


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-19 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 15:36 [Bug c++/34853] New: c++ runtime of basic_string has a bug in certain case myan at microstrategy dot com
2008-01-18 15:36 ` [Bug c++/34853] " myan at microstrategy dot com
2008-01-18 15:48 ` myan at microstrategy dot com
2008-01-18 16:02 ` myan at microstrategy dot com
2008-01-18 16:06 ` myan at microstrategy dot com
2008-01-18 16:08 ` myan at microstrategy dot com
2008-01-19 21:06 ` [Bug libstdc++/34853] " pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).