From: nathan Date: Thu, 4 May 2017 18:37:53 +0000 (+0000) Subject: * constraint.cc (diagnose_check_constraint): Fix %E thinko. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0e3c67a150ad9160cf77294bf90e464a64affbc;p=thirdparty%2Fgcc.git * constraint.cc (diagnose_check_constraint): Fix %E thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247614 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ef1809cc0c56..ac7c0339c214 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 a2c910dd5ba3..3783553152ad 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;