re PR tree-optimization/28887 (rejects valid code (bitfields and loops) with -O1...
authorRoger Sayle <sayle@gcc.gnu.org>
Mon, 18 Sep 2006 01:54:33 +0000 (01:54 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 18 Sep 2006 01:54:33 +0000 (01:54 +0000)
commitaac8b8ed8a1f8a2f26ebdad86824600f828bf8cc
tree75f098e9bc265156e2b16c0f13768b250a6693ea
parent8e77de24deed6692b43b91bc753d3d78895527cd
re PR tree-optimization/28887 (rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays)

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.

From-SVN: r117012
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