From: Adam Butcher Date: Mon, 16 Sep 2013 07:14:11 +0000 (+0100) Subject: * pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION. X-Git-Tag: releases/gcc-4.9.0~4054 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff63a2f45cf4cead28be7711c83aa7d96b195031;p=thirdparty%2Fgcc.git * pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION. From-SVN: r202610 --- diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 2ef160aacf89..ed08dca6f578 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -21041,7 +21041,7 @@ static tree make_auto_1 (tree name) { tree au = cxx_make_type (TEMPLATE_TYPE_PARM); - TYPE_NAME (au) = build_decl (BUILTINS_LOCATION, + TYPE_NAME (au) = build_decl (input_location, TYPE_DECL, name, au); TYPE_STUB_DECL (au) = TYPE_NAME (au); TEMPLATE_TYPE_PARM_INDEX (au) = build_template_parm_index