This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.2 code bloat from debug info


> 
> gdb has a test suite of C++ programs.  Unfortunately, these are all
> small programs.  I don't have any large C++ programs handy.  If someone
> wants to put up numbers for mozilla or open office, that would be cool.
> 

I suggest that any of the Qt example programs can be used.  For example,
the 'dclock' program has these sizes:

                 2.96            2.98            3.3.2           3.3.2
		dwarf-2          stabs+         dwarf-2          stabs+
dclock.o        121684           131812         252108		278964	
main.o		133392		 143388		263548		294596
moc_dclock.o	158896		 170160		293108		330356

This only demonstrates a 2x increase size.  This is not a "large" C++ program
as GUIs go.  I have to dig a bit more to find out why my other code has a 6x
increase.  But apparently there's libc to should a 10x increase.

Attachment: dclock.tgz
Description: dclock.tgz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]