init.c (build_new_1): Split out from build_new.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 12 Jan 1998 09:44:59 +0000 (09:44 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Jan 1998 09:44:59 +0000 (04:44 -0500)
commita0d5fba7d253e0d09de2a4f46fce6a57340407a8
tree3f2aab433a227917dcd627e3bd67f21d6f2276d1
parentef720b21fd6c767e3053a61f01d91fa7f1fc6410
init.c (build_new_1): Split out from build_new.

* init.c (build_new_1): Split out from build_new.
(build_new): Just return a NEW_EXPR.
* expr.c (cplus_expand_expr): Handle NEW_EXPR.
* decl2.c (get_temp_regvar): Tweak.
* cp-tree.h (TREE_CALLS_NEW): Comment out.
* class.c (resolves_to_fixed_type_p): Remove use.
* method.c (build_opfncall): Likewise.
* call.c (build_new_op): Likewise.
Fix problem with 'new' in default argument.

From-SVN: r17319
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/expr.c
gcc/cp/init.c
gcc/cp/method.c