From cefc09063eb4b0eb572c89c3f0657e5b5e36e77d Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 28 Mar 2018 16:51:09 +0200 Subject: [PATCH] Fix typos (PR other/84819). 2018-03-28 Martin Liska PR other/84819 * calls.c (initialize_argument_information): Fix trailing space. * common.opt: Fix typo and provide better explanation for -fsanitize-coverage option. * config/i386/i386.opt: Fix typo. From-SVN: r258925 --- gcc/ChangeLog | 8 ++++++++ gcc/calls.c | 2 +- gcc/common.opt | 4 ++-- gcc/config/i386/i386.opt | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7742da1f89b..b398a635d96 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2018-03-28 Martin Liska + + PR other/84819 + * calls.c (initialize_argument_information): Fix trailing space. + * common.opt: Fix typo and provide better explanation for + -fsanitize-coverage option. + * config/i386/i386.opt: Fix typo. + 2018-03-28 Jakub Jelinek Martin Liska diff --git a/gcc/calls.c b/gcc/calls.c index 4dcfef77a5a..9eb0467311b 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1999,7 +1999,7 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED, *may_tailcall = false; maybe_complain_about_tail_call (exp, "a callee-copied argument is" - " stored in the current " + " stored in the current" " function's frame"); } diff --git a/gcc/common.opt b/gcc/common.opt index e0bc4d1bb18..d6ef85928f3 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1002,7 +1002,7 @@ Select what to sanitize. fsanitize-coverage= Common Report Joined -Select what to coverage sanitize. +Select type of coverage sanitization. fasan-shadow-offset= Common Joined RejectNegative Var(common_deferred_options) Defer @@ -1637,7 +1637,7 @@ Common Report Joined RejectNegative Enum(cf_protection_level) Var(flag_cf_protec instructions have valid targets. Enum -Name(cf_protection_level) Type(enum cf_protection_level) UnknownError(unknown Cotrol-Flow Protection Level %qs) +Name(cf_protection_level) Type(enum cf_protection_level) UnknownError(unknown Control-Flow Protection Level %qs) EnumValue Enum(cf_protection_level) String(full) Value(CF_FULL) diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 311b99d9739..c063ae8b1ae 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -1023,8 +1023,8 @@ Enforcement Technology (CET). mcet-switch Target Report Undocumented Var(flag_cet_switch) Init(0) -Turn on CET instrumentation for switch statements, which use jump table and -indirect jump. +Turn on CET instrumentation for switch statements that use a jump table and +an indirect jump. mforce-indirect-call Target Report Var(flag_force_indirect_call) Init(0) -- 2.30.2