[Ecls-list] More on builtins

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Feb 4 19:26:48 UTC 2010


I have been reviewing old manuals of GCC. The first reference to "noreturn"
and "longjmp" together is found in v4.0. I have thus decided to go the
daring route and define a new macro, ecl_attr_noreturn as
__attribute__((noreturn)) for all versions >= 4.0  The result is a
tremendous size reduction in the core, of about 17k! Not bad for starters.

$ size build.attr/libecl.dylib
__TEXT __DATA __OBJC others dec hex
1318912 253952 0 532480 2105344 202000
$ size build/libecl.dylib
__TEXT __DATA __OBJC others dec hex
1335296 253952 0 532480 2121728 206000



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100204/d1f61a91/attachment.html>


More information about the ecl-devel mailing list