https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110172

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Quoting:
https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fexceptions

"""
-fexceptions

    Enable exception handling. Generates extra code needed to propagate
exceptions. For some targets, this implies GCC generates frame unwind
information for all functions, which can produce significant data size
overhead, although it does not affect execution. If you do not specify this
option, GCC enables it by default for languages like C++ that normally require
exception handling, and disables it for languages like C that do not normally
require it. However, you may need to enable this option when compiling C code
that needs to interoperate properly with exception handlers written in C++. You
may also wish to disable this option if you are compiling older C++ programs
that don’t use exception handling.
"""

Reply via email to