> 
> I'd say that the devirtualization code is quite a heavy thing do to from
> fold_stmt.  Yes - it want's to catch all cases if a stmt is modified
> (after which passes should fold it).

Yep, I have no prolem doing the heavy part just at a specified point.
(it usually converges quickly, but there are no guarantees)

In fact one of reasons why I fully separated the context lattice operations
from ipa-prop is that I think it may make sense to have special purpose
intraprocedural pass to do the propagation probably twice - once in early
passes and once in late.  Did not get into that for GCC 5 though.

Honza
> 
> So I am testing the following on x86_64 (verified it fixes the testcase
> with a aarch64 cross).
> 
> Richard.
> 
> 2015-03-04  Richard Biener  <rguent...@suse.de>
> 
>         PR middle-end/65233
>         * ipa-polymorphic-call.c: Include tree-ssa-operands.h and
>         tree-into-ssa.h.
>         (walk_ssa_copies): Revert last chage.  Instead do not walk
>         SSA names registered for SSA update.


Reply via email to