aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-09-09 06:17:13 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-09 06:17:13 +0000
commite1b3e07d15a82f07afc3ebd6ecf4ee0334a90d65 (patch)
tree5953ca2b981b4fba376c0372f43a13e5ce7fa27d /gcc/cp/expr.c
parentfc009f966c98317401b51127f59de4ad37bb7d19 (diff)
downloadgcc-e1b3e07d15a82f07afc3ebd6ecf4ee0334a90d65.zip
gcc-e1b3e07d15a82f07afc3ebd6ecf4ee0334a90d65.tar.gz
gcc-e1b3e07d15a82f07afc3ebd6ecf4ee0334a90d65.tar.bz2
cp-tree.h (scratch_tree_cons): Remove.
* cp-tree.h (scratch_tree_cons): Remove. * call.c: Replace all uses of expr_tree_cons, saveable_tree_cons, and perm_tree_cons with plain tree_cons. * class.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * init.c: Likewise. * lex.c: Likewise. * method.c: Likewise. * parse.y: Likewise. * pt.c: Likewise. * repo.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * typeck.c: Likewise. * parse.c: Regenerated. * tree.c (build_srcloc): Simplify. From-SVN: r29225
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 373afe6..c1f7263 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -161,7 +161,7 @@ cplus_expand_expr (exp, target, tmode, modifier)
parameter value. */
mark_addressable (slot);
if (TREE_PERMANENT (args))
- args = expr_tree_cons (0, build1 (ADDR_EXPR, type, slot),
+ args = tree_cons (0, build1 (ADDR_EXPR, type, slot),
TREE_CHAIN (args));
else
TREE_VALUE (args) = build1 (ADDR_EXPR, type, slot);