decl.c (store_parm_decls): Remove parms_have_cleanups cruft.
authorJason Merrill <jason@redhat.com>
Thu, 13 Dec 2001 01:37:52 +0000 (20:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 13 Dec 2001 01:37:52 +0000 (20:37 -0500)
commita0de9d202503e7931ecb6f9fe068596f8631ff6b
tree4280f3d0abd19266afffae466528ebbb6dca66f8
parentaff8a8d52b650e3ba60cb8b864f244bf23b67acd
decl.c (store_parm_decls): Remove parms_have_cleanups cruft.

        * decl.c (store_parm_decls): Remove parms_have_cleanups cruft.
        * semantics.c (genrtl_start_function): Don't pass
        parms_have_cleanups or push an extra binding level.
        (genrtl_finish_function): Lose cleanup_label cruft.

        * cp-tree.h (struct cp_language_function): Remove x_ctor_label.
        (ctor_label): Remove.
        * semantics.c (finish_return_stmt): Lose ctor_label support.
        * decl.c (finish_constructor_body, mark_lang_function): Likewise.
        * typeck.c (check_return_expr): Check DECL_DESTRUCTOR_P, not
        dtor_label.

        * call.c (build_new_method_call): Let resolves_to_fixed_type_p
        check for [cd]tors.
        * class.c (fixed_type_or_null, case INDIRECT_REF): Fix.

        * decl.c (finish_function): Check VMS_TARGET, not VMS.

        * decl.c (start_cleanup_fn): Remove redundant pushlevel.
        (end_cleanup_fn): And poplevel.

        * semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER
        if we're in a template.

From-SVN: r47962
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/semantics.c
gcc/cp/typeck.c