From 83afe9ef89a1e6d75c23875f229f13bf5551014e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 12 May 2014 15:07:55 -0400 Subject: call.c (convert_like_real): Use inform for identifying the declaration point. * call.c (convert_like_real): Use inform for identifying the declaration point. From-SVN: r210332 --- gcc/cp/call.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/cp/call.c') diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 254b43a..f2ceef2 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -6256,8 +6256,8 @@ convert_like_real (conversion *convs, tree expr, tree fn, int argnum, return expr; expr = build_temp (expr, totype, flags, &diag_kind, complain); if (diag_kind && fn && complain) - emit_diagnostic (diag_kind, DECL_SOURCE_LOCATION (fn), 0, - " initializing argument %P of %qD", argnum, fn); + inform (DECL_SOURCE_LOCATION (fn), + " initializing argument %P of %qD", argnum, fn); return build_cplus_new (totype, expr, complain); case ck_ref_bind: -- cgit v1.1