aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-08-30 09:55:59 +0200
committerRichard Biener <rguenther@suse.de>2021-08-30 14:03:56 +0200
commit1313111fdec0d0de4228b5e839ca728b3e4b106e (patch)
treee82dc712f45cf3577f26e671c78e8ee4866456b5 /gcc/doc
parentcaf81d3b57501b1f58dcd9b1ef9d7b4bc76f4ab1 (diff)
downloadgcc-1313111fdec0d0de4228b5e839ca728b3e4b106e.zip
gcc-1313111fdec0d0de4228b5e839ca728b3e4b106e.tar.gz
gcc-1313111fdec0d0de4228b5e839ca728b3e4b106e.tar.bz2
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.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b83bd90..f7bb193 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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