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: [PATCH] Fix PR 18746, fab causing more problems


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


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