On Fri, 2005-11-04 at 15:45 +0100, Richard Guenther wrote: > On Fri, 4 Nov 2005, Diego Novillo wrote: > > > On Friday 04 November 2005 08:34, Richard Guenther wrote: > > > > > * tree-flow-inline.h (ref_contains_indirect_ref): Deal > > > with INDIRECT_REF not in handled_component_p. > > > > > If you handle INDIRECT_REF directly, then you are seemingly changing the > > semantics of the predicate. The predicate says that it's expecting an > > ARRAY_REF as input. > > > > Point me to the bug you are trying to fix? There wasn't enough context in > > your message. > > The bug is that as present, ref_contains_indirect_ref returns always > false, regardless of input. Because handled_component_p returns false > for TREE_CODE (arg) == INDIRECT_REF. >
Can you remove the tree-ssa-structalias use of this predicate at the same time please? It's not actually not necessary there (the loop-niter uses are still needed). --Dan > Richard.