OSDN Git Service

2005-01-06 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jan 2005 22:08:27 +0000 (22:08 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jan 2005 22:08:27 +0000 (22:08 +0000)
commit331e13f99a41ea2b7f74a09add3ff8cc560bca5c
tree0cefe92e4de94b5984c23671a4fd98a1e642c18f
parentd67a0f5e4f1660b2613d9472686e92aace6344bd
2005-01-06  Daniel Berlin <dberlin@dberlin.org>

Fix PR tree-optimization/18792

* tree-data-ref.c (build_classic_dist_vector): Change first_loop
to first_loop_depth, and use loop depth instead of loop number.
(build_classic_dir_vector): Ditto.
(compute_data_dependences_for_loop): Use depth, not loop number.
* tree-loop-linear.c (try_interchange_loops): Use loop depth, not loop
number. Pass in loops, instead of loop numbers.
(gather_interchange_stats): Ditto.
(linear_transform_loops): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/gcc.dg/pr18792.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-loop-linear.c