aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-24 20:54:08 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-24 20:54:08 +0000
commitb3ab27f3c3564665232fc000d9a4fc7dfc54f608 (patch)
treef016f005549032f3aa4a1f3b8935bf7659fccce5 /gcc/cp/expr.c
parentd353a00cf3b107bd681ff47b597a55f5bd5b1bb3 (diff)
downloadgcc-b3ab27f3c3564665232fc000d9a4fc7dfc54f608.zip
gcc-b3ab27f3c3564665232fc000d9a4fc7dfc54f608.tar.gz
gcc-b3ab27f3c3564665232fc000d9a4fc7dfc54f608.tar.bz2
cp-tree.h (CPTI_CLEANUP_TYPE): New macro.
* cp-tree.h (CPTI_CLEANUP_TYPE): New macro. (cleanup_type): Likewise. (search_tree): Change prototype. * decl.c (local_variable_p): Adjust for new interface to search_tree. (check_default_argument): Likewise. * error.c (dump_expr): Handle INIT_EXPR. * except.c (expand_throw): Don't make cleanup_type a local static. * expr.c (cplus_expand_expr): Don't handle NEW_EXPR. * init.c (build_new): Call build_new_1 directly, rather than building a NEW_EXPR. (build_new_1): Tidy. Don't build a VEC_INIT_EXPR except when processing file-scope initializers. * lex.c (init_parse): Add an opname_tab entry for INIT_EXPR. * tree.c: Include splay-tree.h (no_linkage_helper): Adjust for new interface to search_tree. (search_tree): Pass around pointers to tree nodes, rather than the nodes themselves. Handle VEC_INIT_EXPR. (no_linkage_check): Adjust for new interface to search_tree. (mapcar): Handle VEC_INIT_EXPR. (target_remap): New variable. (bot_manip): Use it. (bot_replace): New function. (break_out_target_exprs): Use it to remap all variables used in a default argument expression. * typeck.c (build_modify_expr): Don't crash when outside a function and presented with an INIT_EXPR assignment * Makefile.in (tree.o): Depend on splay-tree.h. From-SVN: r29659
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 0eb5de4..741174e 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -239,9 +239,6 @@ cplus_expand_expr (exp, target, tmode, modifier)
integer_one_node),
TREE_OPERAND (exp, 1), 0), target, tmode, modifier);
- case NEW_EXPR:
- return expand_expr (build_new_1 (exp), target, tmode, modifier);
-
case STMT_EXPR:
{
tree rtl_expr = begin_stmt_expr ();