Jonas Maebe wrote:
All programs are stripped. As you can see, wpo can now remove about
61kb (before, wpo gained 8kb). Still not very much. The reason that
you need several iterations to get all possible savings, is that the
compiler only records calls to virtual methods from code that is
included in the final program. So removing a method may cause some
other methods to be no longer from anywhere, etc.
FPC does not strip empty methods, functions, initialization/finalization
sections. Does wpo strips them? How difficult is to teach compiler to
remove them during compilation?
It's not yet committed, because there are still some compiler crashes
when recompiling units after my changes, similar to
http://bugs.freepascal.org/view.php?id=13323
Good that you care this time.
Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel