2006-09-17 Zdenek Dvorak <dvorakz@suse.cz>
commit6dce7ee94db2a11359a6a9e149ff5fb80a851a0d
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2006 01:54:33 +0000 (18 01:54 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2006 01:54:33 +0000 (18 01:54 +0000)
tree75f098e9bc265156e2b16c0f13768b250a6693ea
parent858e3ae14cf755272565ed548aa244c14997c8a1
2006-09-17  Zdenek Dvorak <dvorakz@suse.cz>

PR tree-optimization/28887
* tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
component parts from the reference.
(gather_memory_references_ref): Record the reference without the
nonaddressable component parts.

* gcc.dg/prefetch-loop-arrays-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117012 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/prefetch-loop-arrays-1.c [new file with mode: 0644]
gcc/tree-ssa-loop-prefetch.c