OSDN Git Service

PR c++/43787
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2010 16:32:20 +0000 (16:32 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2010 16:32:20 +0000 (16:32 +0000)
commiteda3733553b5ca1932c5bf3313b3492cf34cecaf
tree76394a4dd6bd685ffee7f55fc84a357aecb19236
parentbbff0c62e0dde2fe9f5d538677a964fc91654cad
PR c++/43787
gcc:
* gimplify.c (gimplify_expr): Keep working if gimplify_modify_expr
returns GS_OK.
(gimplify_modify_expr_rhs): Return GS_OK if anything changed.
gcc/cp:
* cp-gimplify.c (cp_gimplify_expr): Remove copies of empty classes.
* call.c (build_over_call): Don't try to avoid INIT_EXPR copies here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159072 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-gimplify.c
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/empty1.C [new file with mode: 0644]