This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Significantly smaller binary sizes today
- From: Brad Roberts <braddr at puremagic dot com>
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 4 Jun 2002 00:49:44 -0700 (PDT)
- Subject: Re: Significantly smaller binary sizes today
Did you ever determine what had changed to produce this 80% reduction?
The number coincides with the numbers that the denser dwarf2 code showed
for gdb according to the apr 9 post on that subject but I don't recall
seeing anything about that beyond the proposal.
Later,
Brad
On Mon, 27 May 2002, Gerald Pfeifer wrote:
> Date: Mon, 27 May 2002 16:28:49 +0200 (CEST)
> From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
> To: gcc@gcc.gnu.org
> Subject: Significantly smaller binary sizes today
>
> Today I noticed that some template-heavy C++ project code of mine shrank
> from 4.5 MB in size (GCC 2.95, GCC 3.0 and GCC 3.1 and mainline CVS until
> recently) to less than 1 MB using current mainline.
>
> That is a reduction by a factor of nearly 5 for a binary generated with
> -O3 -DNDEBUG -static and stripped!
>
> That's truely amazing -- any ideas who the "culprit" might be?
>
> Gerald
> --
> Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/