aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1997-10-14 14:59:03 -0400
committerJason Merrill <jason@gcc.gnu.org>1997-10-14 14:59:03 -0400
commite66d884e7b29d16a098c881bc8b577f2b39d3ca6 (patch)
treee3025732f5c9bd1333870ea5379c4beaab725a30 /gcc/cp/expr.c
parent22ef8a131aff4c58840adca891b573f9023b57ea (diff)
downloadgcc-e66d884e7b29d16a098c881bc8b577f2b39d3ca6.zip
gcc-e66d884e7b29d16a098c881bc8b577f2b39d3ca6.tar.gz
gcc-e66d884e7b29d16a098c881bc8b577f2b39d3ca6.tar.bz2
cp-tree.h (scratchalloc, [...]): Define as macros for now.
* cp-tree.h (scratchalloc, build_scratch_list, make_scratch_vec, scratch_tree_cons): Define as macros for now. * call.c, class.c, cvt.c, decl.c, decl2.c, except.c, expr.c, init.c, lex.c, method.c, parse.y, pt.c, rtti.c, search.c, tree.c, typeck.c, typeck2.c: Use them and the expression_obstack variants. From-SVN: r15900
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index a14695d..2162b0d 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -112,7 +112,7 @@ cplus_expand_expr (exp, target, tmode, modifier)
parameter value. */
mark_addressable (slot);
if (TREE_PERMANENT (args))
- args = tree_cons (0, build1 (ADDR_EXPR, type, slot),
+ args = expr_tree_cons (0, build1 (ADDR_EXPR, type, slot),
TREE_CHAIN (args));
else
TREE_VALUE (args) = build1 (ADDR_EXPR, type, slot);