Add missing punctuation to message (PR driver/79875)
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 10 Mar 2017 19:22:35 +0000 (19:22 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 10 Mar 2017 19:22:35 +0000 (19:22 +0000)
gcc/ChangeLog:
PR driver/79875
* opts.c (parse_sanitizer_options): Add missing question mark to
"did you mean" message.

From-SVN: r246047

gcc/ChangeLog
gcc/opts.c

index 0d7b802dd1280f11f8d921eeb932c9bbe717cb0b..2837ddf1ba31c1b665098b1b326ac47ffc4c6b15 100644 (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
index 8274fab6661005de96eb4928f3fda9cf600f3c1a..6ea57af916e06e685eb79958f6da381c791aa6af 100644 (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);