[Bug libstdc++/16612] empty basic_strings can't live in shared memory

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 22 07:25:00 GMT 2004


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-22 07:25 -------
Created an attachment (id=6799)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6799&action=view)
preliminary removal of _S_empty_rep_storage


This is a hacked patch, just to have an allocator-allocated memory for the
empty string. Using this version of string, the testcase that used to fail will
pass for me.

This is probably not the right way to do this, so I'll wait for Paolo to look
at this when he gets back.

-benjamin

-- 


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



More information about the Gcc-bugs mailing list