Re: [PATCH] Fix PR56965, move nonoverlapping_component_refs_p

2014-04-15 Thread Richard Biener
On Tue, 15 Apr 2014, Eric Botcazou wrote: > > I didn't yet relax some of its restrictions (we can safely > > skip real/imag-part and array[-range?]-refs - we don't have > > to stop at them. There is also the question whether > > aliasing_component_refs_p still does sth useful after this > > (if t

Re: [PATCH] Fix PR56965, move nonoverlapping_component_refs_p

2014-04-15 Thread Eric Botcazou
> I didn't yet relax some of its restrictions (we can safely > skip real/imag-part and array[-range?]-refs - we don't have > to stop at them. There is also the question whether > aliasing_component_refs_p still does sth useful after this > (if those restrictions are removed). > > Bootstrap / regt

[PATCH] Fix PR56965, move nonoverlapping_component_refs_p

2014-04-15 Thread Richard Biener
This moves nonoverlapping_component_refs_p (now that I committed the patch to make it O (n log n) instead of O (n^3)) to the tree alias oracle (which is dispatched to from the RTL oracle). This fixes the wrong-code part of the bug by moving the call to nonoverlapping_component_refs_p at a place w