cvt.c (convert_lvalue): New fn.
authorJason Merrill <jason@redhat.com>
Thu, 5 Jul 2001 15:39:36 +0000 (11:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Jul 2001 15:39:36 +0000 (11:39 -0400)
commit01f9e964bd55fd0f52f4a084f70ee7a5e071cfa9
tree0709114363ae3b357e7e3dc92f90a62a000a2673
parent021c4bfd955ee14e054e0af78941e7401dbb9012
cvt.c (convert_lvalue): New fn.

        * cvt.c (convert_lvalue): New fn.
        * cp-tree.h: Declare it.
        * method.c (do_build_assign_ref): Use it.
        (do_build_copy_constructor): Convert parm to base types
        before calling base constructors.

        * typeck.c (check_return_expr): Check DECL_ALIGN instead of
        DECL_USER_ALIGN.  Check flag_elide_constructors instead of
        optimize.
        * semantics.c (cp_expand_stmt): Don't destroy the named return value.

From-SVN: r43780
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/method.c
gcc/cp/semantics.c
gcc/cp/typeck.c