This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159352 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 13 May 2010 05:23:20 -0000
- Subject: r159352 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jason
Date: Thu May 13 05:23:14 2010
New Revision: 159352
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159352
Log:
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.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/opt/empty1.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/call.c
branches/gcc-4_5-branch/gcc/cp/cp-gimplify.c
branches/gcc-4_5-branch/gcc/gimplify.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog