From ff63a2f45cf4cead28be7711c83aa7d96b195031 Mon Sep 17 00:00:00 2001 From: Adam Butcher Date: Mon, 16 Sep 2013 08:14:11 +0100 Subject: [PATCH] * pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION. From-SVN: r202610 --- gcc/cp/pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 2ef160aacf8..ed08dca6f57 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 -- 2.30.2