aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-02-19 10:54:09 +0100
committerMartin Liska <marxin@gcc.gnu.org>2018-02-19 09:54:09 +0000
commitda5c77af9134b852f739c3ed427a647d32f3308d (patch)
tree1f9b1ffdf42be161d11749860426173b6b7ab7dd
parent50dbbe535766405327cdf4cf6712a633a87966e0 (diff)
downloadgcc-da5c77af9134b852f739c3ed427a647d32f3308d.zip
gcc-da5c77af9134b852f739c3ed427a647d32f3308d.tar.gz
gcc-da5c77af9134b852f739c3ed427a647d32f3308d.tar.bz2
Fix documentation typos (PR other/80589).
2018-02-19 Martin Liska <mliska@suse.cz> PR other/80589 * doc/invoke.texi: Fix typo. * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise. From-SVN: r257803
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/params.def4
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 044fbed..0fa0da5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-19 Martin Liska <mliska@suse.cz>
+
+ PR other/80589
+ * doc/invoke.texi: Fix typo.
+ * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise.
+
2018-02-18 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 277c99a..a580794 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -8619,7 +8619,7 @@ This flag is enabled by default at @option{-O2} and higher and depends on
@item -fisolate-erroneous-paths-attribute
@opindex fisolate-erroneous-paths-attribute
-Detect paths that trigger erroneous or undefined behavior due a null value
+Detect paths that trigger erroneous or undefined behavior due to 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 behavior into a trap. This is not
diff --git a/gcc/params.def b/gcc/params.def
index e333679..dad47ec 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -354,11 +354,11 @@ DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL,
"The maximum number of unswitchings in a single loop.",
3, 0, 0)
-/* The maximum number of insns in loop header duplicated by he copy loop
+/* The maximum number of insns in loop header duplicated by the copy loop
headers pass. */
DEFPARAM(PARAM_MAX_LOOP_HEADER_INSNS,
"max-loop-header-insns",
- "The maximum number of insns in loop header duplicated by he copy loop headers pass.",
+ "The maximum number of insns in loop header duplicated by the copy loop headers pass.",
20, 0, 0)
/* The maximum number of iterations of a loop the brute force algorithm