diff options
author | Jason Merrill <jason@redhat.com> | 2014-05-12 15:07:55 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-05-12 15:07:55 -0400 |
commit | 83afe9ef89a1e6d75c23875f229f13bf5551014e (patch) | |
tree | d37099e5d46df22645e9e23c7b4d4515b6b6684c /gcc/cp/call.c | |
parent | da7316cbac19eb2be839e01a5ebf27d97a8e7452 (diff) | |
download | gcc-83afe9ef89a1e6d75c23875f229f13bf5551014e.zip gcc-83afe9ef89a1e6d75c23875f229f13bf5551014e.tar.gz gcc-83afe9ef89a1e6d75c23875f229f13bf5551014e.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r-- | gcc/cp/call.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |