From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17474 invoked by alias); 30 May 2002 16:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17460 invoked by uid 71); 30 May 2002 16:26:02 -0000 Date: Thu, 30 May 2002 11:10:00 -0000 Message-ID: <20020530162602.17459.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Todd Matthews Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4 Reply-To: Todd Matthews X-SW-Source: 2002-05/txt/msg00994.txt.bz2 List-Id: The following reply was made to PR c/6849; it has been noted by GNATS. From: Todd Matthews To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, todd@ssreng.com, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4 Date: Thu, 30 May 2002 09:20:38 -0700 We are compiling both with debugging information (-g option). The size without debugging info is a little larger but not double. Thanks ----- Original Message ----- From: To: ; ; ; Sent: Wednesday, May 29, 2002 6:53 PM Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4 > 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&p r=6849