aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/pt.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9d3e652..e71b4f2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-05 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * pt.c (convert_nontype_argument): Add missing whitespace in
+ error message.
+
2013-05-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53745
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 33ab292..dca3407 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -5651,7 +5651,7 @@ convert_nontype_argument (tree type, tree expr, tsubst_flags_t complain)
}
if (POINTER_TYPE_P (expr_type))
{
- error ("%qE is not a valid template argument for %qT"
+ error ("%qE is not a valid template argument for %qT "
"because it is not the address of a variable",
expr, type);
return NULL_TREE;