re PR translation/80280 (Missing closing quote (%>) c/semantics.c and c/c-typeck.c)
authorVolker Reichelt <v.reichelt@netcologne.de>
Sun, 7 May 2017 19:41:09 +0000 (19:41 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Sun, 7 May 2017 19:41:09 +0000 (19:41 +0000)
        PR translation/80280
        * call.c (print_z_candidate): Fix quoting.

From-SVN: r247728

gcc/cp/ChangeLog
gcc/cp/call.c

index 8389282..ec829ef 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-07  Volker Reichelt  <v.reichelt@netcologne.de>
+
+       PR translation/80280
+       * call.c (print_z_candidate): Fix quoting.
+
 2017-05-05  David Malcolm  <dmalcolm@redhat.com>
 
        * error.c (pedwarn_cxx98): Replace report_diagnostic
index e348f29..f1e431c 100644 (file)
@@ -3457,16 +3457,16 @@ print_z_candidate (location_t loc, const char *msgstr,
     {
       cloc = loc;
       if (candidate->num_convs == 3)
-       inform (cloc, "%<%s%D(%T, %T, %T) <built-in>%>", msg, fn,
+       inform (cloc, "%s%<%D(%T, %T, %T)%> <built-in>", msg, fn,
                candidate->convs[0]->type,
                candidate->convs[1]->type,
                candidate->convs[2]->type);
       else if (candidate->num_convs == 2)
-       inform (cloc, "%<%s%D(%T, %T) <built-in>%>", msg, fn,
+       inform (cloc, "%s%<%D(%T, %T)%> <built-in>", msg, fn,
                candidate->convs[0]->type,
                candidate->convs[1]->type);
       else
-       inform (cloc, "%<%s%D(%T) <built-in>%>", msg, fn,
+       inform (cloc, "%s%<%D(%T)%> <built-in>", msg, fn,
                candidate->convs[0]->type);
     }
   else if (TYPE_P (fn))