From: David Malcolm Date: Fri, 10 Mar 2017 19:22:35 +0000 (+0000) Subject: Add missing punctuation to message (PR driver/79875) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdb1880f3d218d76768ebb3f1d1adedbfb166f6f;p=gcc.git Add missing punctuation to message (PR driver/79875) gcc/ChangeLog: PR driver/79875 * opts.c (parse_sanitizer_options): Add missing question mark to "did you mean" message. From-SVN: r246047 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d7b802dd12..2837ddf1ba3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-10 David Malcolm + + PR driver/79875 + * opts.c (parse_sanitizer_options): Add missing question mark to + "did you mean" message. + 2017-03-10 Bill Schmidt * config/rs6000/rs6000-builtin.def (VMULEUB_UNS): Remove orphaned diff --git a/gcc/opts.c b/gcc/opts.c index 8274fab6661..6ea57af916e 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1640,7 +1640,7 @@ parse_sanitizer_options (const char *p, location_t loc, int scode, if (hint) error_at (loc, "unrecognized argument to -f%ssanitize%s= option: %q.*s;" - " did you mean %qs", + " did you mean %qs?", value ? "" : "no-", code == OPT_fsanitize_ ? "" : "-recover", (int) len, p, hint);