[Bug c++/15815] Update #pragma interface and #pragma implementation documentation.
jason at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 10 17:35:00 GMT 2004
------- Additional Comments From jason at redhat dot com 2004-06-10 17:35 -------
Subject: Re: Update #pragma interface and #pragma
implementation documentation.
On 10 Jun 2004 15:59:03 -0000, "larsbj at gullik dot net" <gcc-bugzilla@gcc.gnu.org> wrote:
> All pragmas removed:
> text data bss dec hex filename
> 2792162 80600 48796 2921558 2c9456 src/lyx
> -rwxrwxr-x 1 larsbj larsbj 74322762 Jan 4 00:14 src/lyx
>
> Pragmas in place:
> text data bss dec hex filename
> 2812994 80600 48800 2942394 2ce5ba src/lyx
> -rwxrwxr-x 1 larsbj larsbj 70111256 Jan 4 01:01 src/lyx
Interesting that text size is smaller without the #pragmas, but file size
is larger. My guess is that the difference in text size is due to always
emitting an out-of-line version of functions which would otherwise always
be inlined, and that the difference in file size is due to debug info
following the #pragmas. I'm not sure why there would be so much difference
in debug info; perhaps there are a bunch of types which have no key method?
Or perhaps this is a case of duplicate debug info not being discarded. We
should really move debug info into a comdat group with the function it
corresponds to.
Jason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15815
More information about the Gcc-bugs
mailing list