This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] for PR12223
Hello,
> On Sun, 14 Sep 2003 00:08:49 +0200, Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote:
>
> > * cp/typeck.c (build_modify_expr): Unshare lhs in set from
> > COND_EXPR.
>
> Mark fixed this on the trunk by just removing the hunk of code you
> modified:
>
> 2003-07-09 Mark Mitchell <mark@codesourcery.com>
>
> * cp-tree.h (break_out_calls): Remove declaration.
> * tree.c (break_out_calls): Remove.
> * typeck.c (build_modify_expr): Avoid invalid sharing of trees.
>
> Do you see any reason that shouldn't go onto the 3.3 branch as well?
I don't know of any such reason; IMHO it makes more sense the Mark's
way, I just did not want to remove the code I don't understand.
Zdenek