This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r110864 - in /branches/gcc-4_0-branch/gcc: Chan...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 11 Feb 2006 00:19:32 -0000
- Subject: r110864 - in /branches/gcc-4_0-branch/gcc: Chan...
Author: jason
Date: Sat Feb 11 00:19:30 2006
New Revision: 110864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110864
Log:
PR c++/25979
* tree.def: Elaborate on difference from MODIFY_EXPR.
* doc/c-tree.texi (INIT_EXPR): Likewise.
* cp/cp-gimplify.c (cp_gimplify_expr): Don't call
cp_gimplify_init_expr for MODIFY_EXPRs.
* cp/typeck2.c (split_nonconstant_init_1): Use INIT_EXPR.
* gimplify.c (internal_get_tmp_var): Likewise.
(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 middle-end/22439
* gimplify.c (gimplify_one_sizepos): Fix typo.
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/cp-gimplify.c
branches/gcc-4_0-branch/gcc/cp/typeck2.c
branches/gcc-4_0-branch/gcc/doc/c-tree.texi
branches/gcc-4_0-branch/gcc/gimplify.c
branches/gcc-4_0-branch/gcc/tree.def