OSDN Git Service

* cvt.c (convert_lvalue): New fn.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jul 2001 15:39:36 +0000 (15:39 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jul 2001 15:39:36 +0000 (15:39 +0000)
commitdbacd3bde41cd8ba70151617c817c3ee3c02ba42
tree0709114363ae3b357e7e3dc92f90a62a000a2673
parent1b2983f085061e77a6e2a94d6d92c04dde4c0bce
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/method.c
gcc/cp/semantics.c
gcc/cp/typeck.c