This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ast-optimizer-branch] Bootstrap fixes [patch]
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 07 May 2002 14:53:54 -0400
- Subject: Re: [ast-optimizer-branch] Bootstrap fixes [patch]
- References: <Pine.LNX.4.44.0205071437350.3069-100000@dberlin.org>
On Tue, 2002-05-07 at 14:41, Daniel Berlin wrote:
> I only need to disable simplify_self_mod_expr and simplify_save_expr to be
> able to bootstrap before.
>
> This includes simplifying statement expressions.
>
Oh, that's good news. Could you post the patch? I'm now tracking the
C++ library failure.
> Not copying nodes also ends up making optimizations harder. For things
> like copy-prop, i now have to make sure we don't screw over shared
> expressions when replacing.
>
But that would've been true before the simplify pass, wouldn't it? By
not copying the expressions we are just preserving the initial sharing.
We only need to be careful not to clobber special nodes like constants,
decls and types.
Diego.