This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Code Bloat g++
- To: martin at loewis dot home dot cs dot tu-berlin dot de (Martin v. Loewis)
- Subject: Re: Patch: Code Bloat g++
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Sat, 19 Feb 2000 16:30:41 -0800 (PST)
- Cc: mrs at windriver dot com, pfeifer at dbai dot tuwien dot ac dot at, gcc at gcc dot gnu dot org, jbuck at possibly dot synopsys dot com, gcc-patches at gcc dot gnu dot org
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).