From 51956afe2766a248dc0c876f4140d7a79009cf5a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 2 May 2017 11:38:55 +0200 Subject: [PATCH] Fix 2 typos in documentation (PR other/80589). 2017-05-02 Martin Liska PR other/80589 * common.opt: Fix typo. * doc/invoke.texi: Likewise. From-SVN: r247485 --- gcc/ChangeLog | 6 ++++++ gcc/common.opt | 2 +- gcc/doc/invoke.texi | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 72110a2a880..4f7c9f7b1dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-05-02 Martin Liska + + PR other/80589 + * common.opt: Fix typo. + * doc/invoke.texi: Likewise. + 2017-05-01 Jan Beulich * config/i386/sse.md (xop_vpermil23): Do not allow operand diff --git a/gcc/common.opt b/gcc/common.opt index 4021622cf5c..437db8e8615 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2492,7 +2492,7 @@ 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 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 returns_nonnull or nonnull attribute. Isolate those paths from the main control flow and turn the statement with erroneous or undefined behavior into a trap. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0eeea7b3b87..1f780640e0c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9915,7 +9915,7 @@ The maximum number of insns of an unswitched loop. The maximum number of branches unswitched in a single loop. @item max-loop-headers-insns -The maximum number of insns in loop header duplicated by he copy loop headers +The maximum number of insns in loop header duplicated by the copy loop headers pass. @item lim-expensive -- 2.30.2