From d4a5c4ebc77ba62f22a360c78a03d0b54c43a2a9 Mon Sep 17 00:00:00 2001 From: Volker Reichelt Date: Sun, 7 May 2017 19:41:09 +0000 Subject: [PATCH] re PR translation/80280 (Missing closing quote (%>) c/semantics.c and c/c-typeck.c) PR translation/80280 * call.c (print_z_candidate): Fix quoting. From-SVN: r247728 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/call.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8389282d786..ec829ef6f70 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2017-05-07 Volker Reichelt + + PR translation/80280 + * call.c (print_z_candidate): Fix quoting. + 2017-05-05 David Malcolm * error.c (pedwarn_cxx98): Replace report_diagnostic diff --git a/gcc/cp/call.c b/gcc/cp/call.c index e348f296822..f1e431c6b15 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -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) %>", msg, fn, + inform (cloc, "%s%<%D(%T, %T, %T)%> ", 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) %>", msg, fn, + inform (cloc, "%s%<%D(%T, %T)%> ", msg, fn, candidate->convs[0]->type, candidate->convs[1]->type); else - inform (cloc, "%<%s%D(%T) %>", msg, fn, + inform (cloc, "%s%<%D(%T)%> ", msg, fn, candidate->convs[0]->type); } else if (TYPE_P (fn))