diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/constraint.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ef1809c..ac7c033 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2017-05-04 Nathan Sidwell <nathan@acm.org> + + * constraint.cc (diagnose_check_constraint): Fix %E thinko. + 2017-05-04 Martin Sebor <msebor@redhat.com> PR translation/80280 diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc index a2c910d..3783553 100644 --- a/gcc/cp/constraint.cc +++ b/gcc/cp/constraint.cc @@ -2859,7 +2859,7 @@ diagnose_check_constraint (location_t loc, tree orig, tree cur, tree args) { if (elide_constraint_failure_p ()) return; - inform (loc, "in the expansion of concept %<E %S%>", check, sub); + inform (loc, "in the expansion of concept %<%E %S%>", check, sub); cur = get_concept_definition (decl); tsubst_expr (cur, targs, tf_warning_or_error, NULL_TREE, false); return; |