This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: -ffunction-sections -fdata-sections vs. string-inst
- To: rittle at rsch dot comm dot mot dot com
- Subject: Re: -ffunction-sections -fdata-sections vs. string-inst
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 14 Jun 2000 11:36:01 -0700 (PDT)
- cc: libstdc++ at sourceware dot cygnus dot com
> --- /dev/fd/3 Fri Jan 7 13:49:20 2000
> +++ /dev/fd/4 Fri Jan 7 13:49:20 2000
> -63208 4504 345986 21_strings/append.cc
> +216500 9477 1586636 21_strings/append.cc
> -59032 4088 321122 21_strings/find.cc
> +214852 9061 1564683 21_strings/find.cc
Yeah. I noticed this growth too.
Fortunately, it can be solved by moving the getline and
instertion/extration operators for string from string-inst.cc to
misc-inst.cc
Then there is size parity for both approaches.
I am getting some cores in static binaries, and I'm still in the middle
of trying to see what's going on. I'll post a better patch tonight.
-benjamin