From: Sandra Loosemore Date: Sun, 4 Jan 2015 00:58:13 +0000 (-0500) Subject: invoke.texi ([-fisolate-erroneous-paths-dereference]): Copy-edit description. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=408e8aa42f496561b0d06df76403eb2c97b7ef5d;p=gcc.git invoke.texi ([-fisolate-erroneous-paths-dereference]): Copy-edit description. 2015-01-03 Sandra Loosemore gcc/ * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]): Copy-edit description. ([-fisolate-erroneous-paths-attribute]): Likewise. * common.opt (fisolate-erroneous-paths-dereference): Copy-edit description. (fisolate-erroneous-paths-attribute): Likewise. From-SVN: r219170 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5c5936b5e9..1b90aa4721b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2015-01-03 Sandra Loosemore + + * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]): + Copy-edit description. + ([-fisolate-erroneous-paths-attribute]): Likewise. + * common.opt (fisolate-erroneous-paths-dereference): + Copy-edit description. + (fisolate-erroneous-paths-attribute): Likewise. + 2015-01-03 Sandra Loosemore * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and diff --git a/gcc/common.opt b/gcc/common.opt index 27532d5a657..20d4ec7a5f8 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2241,16 +2241,16 @@ Enable string length optimizations on trees fisolate-erroneous-paths-dereference Common Report Var(flag_isolate_erroneous_paths_dereference) Optimization -Detect paths which trigger erroneous or undefined behaviour due to -dereferencing a NULL pointer. Isolate those paths from the main control -flow and turn the statement with erroneous or undefined behaviour into a trap. +Detect paths that trigger erroneous or undefined behavior due to +dereferencing a null pointer. Isolate those paths from the main control +flow and turn the statement with erroneous or undefined behavior into a trap. fisolate-erroneous-paths-attribute Common Report Var(flag_isolate_erroneous_paths_attribute) Optimization -Detect paths which trigger erroneous or undefined behaviour due a NULL value -being used in a way which is forbidden by a returns_nonnull or nonnull +Detect paths that trigger erroneous or undefined behavior due a null value +being used in a way forbidden by a returns_nonnull or nonnull attribute. Isolate those paths from the main control flow and turn the -statement with erroneous or undefined behaviour into a trap. +statement with erroneous or undefined behavior into a trap. ftree-loop-distribution Common Report Var(flag_tree_loop_distribution) Optimization diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 434790d2458..296fb4dfec8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8234,17 +8234,18 @@ This flag is enabled by default at @option{-O2} and @option{-Os}. @item -fisolate-erroneous-paths-dereference @opindex fisolate-erroneous-paths-dereference -Detect paths which trigger erroneous or undefined behaviour due to -dereferencing a NULL pointer. Isolate those paths from the main control -flow and turn the statement with erroneous or undefined behaviour into a trap. +Detect paths that trigger erroneous or undefined behavior due to +dereferencing a null pointer. Isolate those paths from the main control +flow and turn the statement with erroneous or undefined behavior into a trap. +This flag is enabled by default at @option{-O2} and higher. @item -fisolate-erroneous-paths-attribute @opindex fisolate-erroneous-paths-attribute -Detect paths which trigger erroneous or undefined behaviour due a NULL value -being used in a way which is forbidden by a @code{returns_nonnull} or @code{nonnull} +Detect paths that trigger erroneous or undefined behavior due a null value +being used in a way forbidden by a @code{returns_nonnull} or @code{nonnull} attribute. Isolate those paths from the main control flow and turn the -statement with erroneous or undefined behaviour into a trap. This is not -currently enabled, but may be enabled by @code{-O2} in the future. +statement with erroneous or undefined behavior into a trap. This is not +currently enabled, but may be enabled by @option{-O2} in the future. @item -ftree-sink @opindex ftree-sink