projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14fc2c
)
* pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION.
author
Adam Butcher
<abutcher@gcc.gnu.org>
Mon, 16 Sep 2013 07:14:11 +0000
(08:14 +0100)
committer
Adam Butcher
<abutcher@gcc.gnu.org>
Mon, 16 Sep 2013 07:14:11 +0000
(08:14 +0100)
From-SVN: r202610
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index 2ef160aacf892149c48281d712e2328176d6187a..ed08dca6f5784d90af89bffbe37ff1b5cdd0d777 100644
(file)
--- 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