This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
- From: rth at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, todd at ssreng dot com
- Date: 30 May 2002 01:53:31 -0000
- Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
- Reply-to: rth at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, todd at ssreng dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: linux gcc3.1 compiled images are twice the size of gcc3.0.4
State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Wed May 29 18:53:31 2002
State-Changed-Why:
This is not a bug report. Clearly not all images are exactly
twice the size as with 3.0.
It's probable that you're using C++ with debug info enabled
and are confusing the size of the executable with the size
of the code within that executable. We switched to dwarf2
debug information, which at present is a bit larger than
stabs for C++. It's also more accurate, so it's not like
you get nothing for your space.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6849