Hi list!

I'm wondering if anyone tried setting -fnothrow-opt as a CXX_FLAG in
make.conf?

It makes C++ throw() statements behave like C++11 nothrow. This could
have measurable performance benefits and will reduce code size. The only
downside is that, when a function violates its throw() guarantee,
terminate() will be called instead of unexpected().

However, neither function is allowed to do anything but terminate the
program. So all you possibly lose is a meaningful error message just
before the program crashes.

So, what do you think? Safe to enable by default?

Thanks in advance!
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to