tree-data-ref.c (dr_analyze_indices): Avoid unsharing the ref in the basic-block...
authorRichard Guenther <rguenther@suse.de>
Wed, 24 Aug 2011 12:55:18 +0000 (12:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Aug 2011 12:55:18 +0000 (12:55 +0000)
commit9fcb758bdcc346b55cfd467e42f74881db5ab528
tree6456fc1efb5e72f3319617cf31b041ce359f1b70
parente66132e141e14f3773e1e666309ab84ead8b68c1
tree-data-ref.c (dr_analyze_indices): Avoid unsharing the ref in the basic-block case.

2011-08-24  Richard Guenther  <rguenther@suse.de>

* tree-data-ref.c (dr_analyze_indices): Avoid unsharing the
ref in the basic-block case.  Move stripping array-refs
to the place we create an access-function for it.  Remove
bogus stripping down a MEM_REF to its base.

From-SVN: r178037
gcc/ChangeLog
gcc/tree-data-ref.c