Make sure -fexceptions is enabled when -fnon-call-exceptions is
This makes -fexceptions enabled by -fnon-call-exceptions, removing the odd state of !flag_exceptions && flag_non_call_exceptions from middle-end consideration. 2021-08-30 Richard Biener <rguenther@suse.de> * common.opt (fexceptions): Mark EnabledBy(fnon-call-exceptions). * doc/invoke.texi (fnon-call-exceptions): Document this enables -fexceptions.
This commit is contained in:
parent
caf81d3b57
commit
1313111fde
2 changed files with 3 additions and 2 deletions
|
@ -1509,7 +1509,7 @@ Common Var(flag_emit_class_debug_always) Init(0)
|
|||
Do not suppress C++ class debug information.
|
||||
|
||||
fexceptions
|
||||
Common Var(flag_exceptions) Optimization
|
||||
Common Var(flag_exceptions) Optimization EnabledBy(fnon-call-exceptions)
|
||||
Enable exception handling.
|
||||
|
||||
fexpensive-optimizations
|
||||
|
|
|
@ -16410,7 +16410,8 @@ Note that this requires platform-specific runtime support that does
|
|||
not exist everywhere. Moreover, it only allows @emph{trapping}
|
||||
instructions to throw exceptions, i.e.@: memory references or floating-point
|
||||
instructions. It does not allow exceptions to be thrown from
|
||||
arbitrary signal handlers such as @code{SIGALRM}.
|
||||
arbitrary signal handlers such as @code{SIGALRM}. This enables
|
||||
@option{-fexceptions}.
|
||||
|
||||
@item -fdelete-dead-exceptions
|
||||
@opindex fdelete-dead-exceptions
|
||||
|
|
Loading…
Add table
Reference in a new issue