aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/calls.c2
-rw-r--r--gcc/common.opt4
-rw-r--r--gcc/config/i386/i386.opt4
4 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7742da1..b398a63 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2018-03-28 Martin Liska <mliska@suse.cz>
+
+ 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 <jakub@redhat.com>
Martin Liska <mliska@suse.cz>
diff --git a/gcc/calls.c b/gcc/calls.c
index 4dcfef7..9eb0467 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 e0bc4d1..d6ef859 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 311b99d..c063ae8 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)