This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ast-optimizer-branch] Bootstrap fixes [patch]


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]