[PATCH] Fix PR 18746, fab causing more problems

Andrew MacLeod amacleod@redhat.com
Wed Dec 1 19:02:00 GMT 2004


On Wed, 2004-12-01 at 13:22, Diego Novillo wrote:
> On Wed, Dec 01, 2004 at 09:37:55AM -0800, Richard Henderson wrote:

> So, the call to mark_new_vars_to_rename actually prevents the
> alias analyzer from tripping itself over incomplete alias info.
> 
> This is not the ideal solution, but is the least intrusive I can
> think of. Ideally, we could probably have a flag for
> get_stmt_operands to only do real operands.  Or, the alias
> analyzer could do a prior pass of refreshing statement operands
> before it clears all the alias sets.

Do you mean call get_stmt_operands() on all stmts before clearing the
alias sets?   Doesnt help for 4.0, but in 4.1 modify_stmt() should no
longer be updating this stuff lazily, so the operands will always be up
to date. Meaning you get the equivalent of a prior pass of refreshing
for free.  It just might change how you view the solution for 4.0....

Andrew



More information about the Gcc-patches mailing list