Patch: Code Bloat g++

Mark Mitchell
Tue Feb 29 01:34:00 GMT 2000

Martin --

    Martin> Doing this approach does not exclude doing it the other
    Martin> way as well.

I tried adding just the LBRAC/RBRAC elimination portion of your patch,
which, if I read it correctly, is designed to avoid outputting stabs
for blocks with no BLOCK_VARs.

I only saw about a 0.5% improvement over the patch I installed
recently that eliminates blocks with no code.  I guess it's still
worth it, but it's less compelling with those numbers.  Would you try
the test-case with which you obtained your original numbers, and just
the LBRAC/RBRAC part of your patch, and compare with current CVS?

Mark Mitchell         
CodeSourcery, LLC     

More information about the Gcc-patches mailing list