aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Butcher <abutcher@gcc.gnu.org>2013-09-16 08:14:11 +0100
committerAdam Butcher <abutcher@gcc.gnu.org>2013-09-16 08:14:11 +0100
commitff63a2f45cf4cead28be7711c83aa7d96b195031 (patch)
tree790fb34087f0661fd2b221bb05cf844e195a905d
parentd14fc2c6b49df42586749b44a5e0df1ad69ff182 (diff)
downloadgcc-ff63a2f45cf4cead28be7711c83aa7d96b195031.zip
gcc-ff63a2f45cf4cead28be7711c83aa7d96b195031.tar.gz
gcc-ff63a2f45cf4cead28be7711c83aa7d96b195031.tar.bz2
* pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION.
From-SVN: r202610
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 2ef160a..ed08dca 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