* pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION.
authorAdam Butcher <abutcher@gcc.gnu.org>
Mon, 16 Sep 2013 07:14:11 +0000 (08:14 +0100)
committerAdam Butcher <abutcher@gcc.gnu.org>
Mon, 16 Sep 2013 07:14:11 +0000 (08:14 +0100)
From-SVN: r202610

gcc/cp/pt.c

index 2ef160aacf892149c48281d712e2328176d6187a..ed08dca6f5784d90af89bffbe37ff1b5cdd0d777 100644 (file)
@@ -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