https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #23 from __vic <d.v.a at ngs dot ru> --- Jonathan, have you tried to merge you patch with mine? Yours lacks decoupling of string and iostream in c++11/cow-string-inst.o. I think it's a reason why code size was unaffected