C++ exception code size / recommended practice

Benjamin Kosnik bkoz@redhat.com
Thu Apr 10 18:29:00 GMT 2003


Hmm. Your data is surprising to me. The last time I measured this was
when RTH was putting the call frame bits in, and I found that the
overhead in libstdc++ between -fno-exceptions and the default was less
than 30%. I have not done this recently.

Some questions:

Are you on x86? Have you tried the gcc-3.2.x series, and is it comparable?

-benjamin



More information about the Gcc mailing list