From da5c77af9134b852f739c3ed427a647d32f3308d Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 19 Feb 2018 10:54:09 +0100 Subject: [PATCH] Fix documentation typos (PR other/80589). 2018-02-19 Martin Liska PR other/80589 * doc/invoke.texi: Fix typo. * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise. From-SVN: r257803 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 2 +- gcc/params.def | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 044fbedb451..0fa0da58404 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-02-19 Martin Liska + + PR other/80589 + * doc/invoke.texi: Fix typo. + * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise. + 2018-02-18 Segher Boessenkool * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't 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 -- 2.30.2