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