[OBVIOUS] Fix documentation typos (PR other/80589).

Message ID a779b41f-44cc-19cf-4281-28d5daaddecc@suse.cz
State New
Headers show
Series
  • [OBVIOUS] Fix documentation typos (PR other/80589).
Related show

Commit Message

Martin Liška Feb. 19, 2018, 9:52 a.m.
Hi.

This fixes two typos in documentation and description of a param.
Installed as obvious.

Thanks,
Martin

gcc/ChangeLog:

2018-02-19  Martin Liska  <mliska@suse.cz>

	* doc/invoke.texi: Fix typo.
	* params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise.
---
 gcc/doc/invoke.texi | 2 +-
 gcc/params.def      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 277c99a0527..a580794bfba 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 e3336793b23..dad47ec2b00 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