From 0f05d90543023e62bb272e6d97d0de3ddc32ab30 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 4 May 2017 18:37:53 +0000 Subject: [PATCH] * constraint.cc (diagnose_check_constraint): Fix %E thinko. From-SVN: r247614 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/constraint.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ef1809cc0c5..ac7c0339c21 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2017-05-04 Nathan Sidwell + + * constraint.cc (diagnose_check_constraint): Fix %E thinko. + 2017-05-04 Martin Sebor PR translation/80280 diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc index a2c910dd5ba..3783553152a 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 %", 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; -- 2.30.2