From: dmalcolm Date: Fri, 10 Mar 2017 19:22:35 +0000 (+0000) Subject: Add missing punctuation to message (PR driver/79875) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a02fe1851f646267d38754fbb30c5bebca0b6762;p=thirdparty%2Fgcc.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246047 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d7b802dd128..2837ddf1ba31 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 8274fab66610..6ea57af916e0 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);