aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Reichelt <v.reichelt@netcologne.de>2017-05-07 19:41:09 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2017-05-07 19:41:09 +0000
commitd4a5c4ebc77ba62f22a360c78a03d0b54c43a2a9 (patch)
tree22d53b5c020ce7149509b47e9b4846b4dbd67e42
parent8637c116c5683c55157faae65db93c3ebf973cab (diff)
downloadgcc-d4a5c4ebc77ba62f22a360c78a03d0b54c43a2a9.zip
gcc-d4a5c4ebc77ba62f22a360c78a03d0b54c43a2a9.tar.gz
gcc-d4a5c4ebc77ba62f22a360c78a03d0b54c43a2a9.tar.bz2
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
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/call.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8389282d..ec829ef 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index e348f29..f1e431c 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) <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))