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
This commit is contained in:
David Malcolm 2017-03-10 19:22:35 +00:00 committed by David Malcolm
parent 61f29dee3e
commit fdb1880f3d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-03-10 David Malcolm <dmalcolm@redhat.com>
PR driver/79875
* opts.c (parse_sanitizer_options): Add missing question mark to
"did you mean" message.
2017-03-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000-builtin.def (VMULEUB_UNS): Remove orphaned

View File

@ -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);