Bug 31147 - increased size of debug information
Summary: increased size of debug information
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 12:25 UTC by André Wöbbeking
Modified: 2011-10-09 19:27 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed qcombobox.cpp (556.67 KB, application/x-zip)
2007-03-12 16:46 UTC, André Wöbbeking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Wöbbeking 2007-03-12 12:25:21 UTC
Hi,

compared to 4.1.2 the size increased by 50% and more. E.g. Qt 4.2.2 libQtGui.so.4.2.2.debug
- 4.2.0 97902763 bytes
- 4.1.2 62435403 bytes

We compile with -O2 -g. Is this a regression or just more (useful?) information?
Comment 1 Richard Biener 2007-03-12 14:03:51 UTC
It's more information - whether it's useful depends.
Comment 2 André Wöbbeking 2007-03-12 14:22:54 UTC
Subject: Re:  increased size of debug information

On Monday 12 March 2007, rguenth at gcc dot gnu dot org wrote:
> It's more information - whether it's useful depends.

Wow, more than 50%. Are there any docs to this change?
Comment 3 Andrew Pinski 2007-03-12 14:51:46 UTC
Figure out which source causes the increase and then attach the preprocessed source and then we might be able to decide.

It could be that in 4.1.2, that we were not emitting enums and some other types which should have been emitting.
Comment 4 André Wöbbeking 2007-03-12 16:46:21 UTC
Created attachment 13194 [details]
preprocessed qcombobox.cpp

I added both versions (4.2.0 and 4.1.2). It's compiled with

-c -fno-exceptions -pipe -O2 -g -fvisibility=hidden -fvisibility-inlines-hidden -fPIC
Comment 5 Paolo Carlini 2011-10-09 19:27:19 UTC
I don't see why we should keep this open.