------- Comment #8 from pcarlini at suse dot de 2005-10-06 11:50 ------- I'm thinking that another possibility would be avoiding only *part* of the optimization scheme that relies on _S_empty_rep_storage, that is return to the behavior pre-2003-06-13. The empty string object would be reference counted, as any other string, no special cases and no addresses at destruction time. Seems a good compromise for some targets. Are you willing to test a patch? I can prepare one vs 3.4.x but consider that that branch is no longer maintained and any change would eventually go in mainline (and, possibly, 4_0-branch) only.
-- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-10-06 11:50:31 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196