OSDN Git Service

PR c++/25979
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2006 09:54:36 +0000 (09:54 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2006 09:54:36 +0000 (09:54 +0000)
commitcf6b103ecba3ec845e82cac95ce2693954438eec
tree2e7796711ab7dc7b1bc13550933b9b8d077c098e
parentf7bac623609f2c8ed2dbebebe91001b675a035e1
    PR c++/25979
        * tree.def: Elaborate on difference from MODIFY_EXPR.
        * doc/c-tree.texi (INIT_EXPR): Likewise.
        * gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
        (gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
        (gimplify_target_expr): Likewise.
        (gimplify_cond_expr): Remove target handling.
        (gimplify_modify_expr): Don't clobber INIT_EXPR code here.
        (gimplify_expr): Clobber it here.
        (gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
        Do return slot optimization if we have an INIT_EXPR.

        PR tree-opt/24365
        * tree-inline.c (declare_return_variable): Also clear
        DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.

        PR c++/16405
        * gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.

        PR middle-end/22439
        * gimplify.c (gimplify_one_sizepos): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110789 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/cp/typeck2.c
gcc/doc/c-tree.texi
gcc/gimplify.c
gcc/testsuite/g++.dg/opt/temp1.C
gcc/tree-inline.c
gcc/tree.def