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]

Re: Patch: Code Bloat g++


Martin v. Loewis writes:
> I took a slightly different approach; the patch below avoids emitting
> LBRAC/RBRAC pairs if the block has no locals (or only locals which
> don't get debug info, such as __FUNCTION__).

This sounds like the right way to solve it.  I greatly appreciate your
work on this.

> It also reduces the size of the assembler file by using the function
> begin label (if present), instead of the external symbol; this pays
> off primarily in C++, where the external symbol is mangled.

Cool.  That can save a couple of kbytes per affected symbol in
template-heavy code (it makes less difference if -fsquangle is used).


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