unwind/exception stuff bloats hello_world.c

Mike Stump mrs@wrs.com
Thu Dec 11 17:48:00 GMT 1997


> Date: Tue, 9 Dec 1997 00:07:53 -0700 (MST)
> From: Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>

> My code is C++ but does not use exception handling, presumably the same
> case as the original poster?

> $ size 
> text    data    bss     dec     hex     filename
> 142980  71628   416     215024  347f0   libdeity.so  [with exceptions]
> 125146  3956    416     129518  1f9ee   libdeity.so  [-fno-exceptions]

66% overhead for exception handling.  :-(  This is a bit higher than I
wanted...



More information about the Gcc-bugs mailing list