------- Comment #2 from jakub at gcc dot gnu dot org 2007-12-14 19:43 ------- Aldy, this is your patch as well. Changing: --- gimplify.c (revision 130919) +++ gimplify.c (working copy) @@ -3490,7 +3490,7 @@ gimplify_modify_expr_rhs (tree *expr_p, && TYPE_READONLY (TREE_TYPE (*from_p)) && TREE_CODE (DECL_INITIAL (*from_p)) == CONSTRUCTOR) { - *from_p = DECL_INITIAL (*from_p); + *from_p = unshare_expr (DECL_INITIAL (*from_p)); ret = GS_OK; } ret = GS_UNHANDLED; in stock SVN cures this, but as you are changing this anyway...
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34465