summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-04 00:58:13 +0000
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-04 00:58:13 +0000
commit3c7707350ec3f9cf330e63945295b784ce29ee1e (patch)
treeb67e18190000c1915f0cc071c5277d073bcd7749 /gcc
parentb94bdbadf5b77a8956bdaed897d605ed2b08059a (diff)
downloadgcc-3c7707350ec3f9cf330e63945295b784ce29ee1e.tar.gz
2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/common.opt12
-rw-r--r--gcc/doc/invoke.texi15
3 files changed, 23 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5c5936b5e9..1b90aa4721b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
+ * 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 <sandra@codesourcery.com>
+
* doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
tidy grammar.
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