unwind/exception stuff bloats hello_world.c

Jason Gunthorpe jgg@gpu.srv.ualberta.ca
Mon Dec 8 14:24:00 GMT 1997


On Sun, 7 Dec 1997, Jeffrey A Law wrote:

>   > For our
>   > project which consists of some 100 binaries, many of them rather small,
>   > this causes a 20% increase in our disk footprint.  We're ending up
>   > wasting 3MB for no gain.  This is somewhat of a showstopper and I hope
>   > you will look into this in a future release.
> Note that the overhead is only for the libgcc library -- you won't get this
> overhead for code you compile unless you say -fexceptions.

This doesn't seem to work then. I posted a message a bit back on this
subject and it definately was not compiled with any -f flags. Whatever the
__FRAME_BEGIN__ objecta are they take up almost half the executable in
some cases. My code does not use exception handling either..

Thanks,
Jason





More information about the Gcc-bugs mailing list