aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2003-11-22 09:11:01 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2003-11-22 09:11:01 +0000
commit13418b400379006a6536465c774aa33a4871f398 (patch)
tree2ecbf756afe54d51a4989c3603df001c95b53ab1 /gcc/cp/pt.c
parentd43f603d85d1aabb1cd23bd108f57b63ee507930 (diff)
downloadgcc-13418b400379006a6536465c774aa33a4871f398.zip
gcc-13418b400379006a6536465c774aa33a4871f398.tar.gz
gcc-13418b400379006a6536465c774aa33a4871f398.tar.bz2
* pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.
From-SVN: r73834
Diffstat (limited to 'gcc/cp/pt.c')
-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 9f73174..edfb8a5 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -7121,7 +7121,7 @@ tsubst (tree t, tree args, tsubst_flags_t complain, tree in_decl)
if (e1 == error_mark_node || e2 == error_mark_node)
return error_mark_node;
- return build_nt (ARRAY_REF, e1, e2, tsubst_expr);
+ return build_nt (ARRAY_REF, e1, e2);
}
case CALL_EXPR: