re PR tree-optimization/37686 (Building of CPU2000's bzip2 with peak flags with ...
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 15 Oct 2008 16:13:33 +0000 (16:13 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 15 Oct 2008 16:13:33 +0000 (16:13 +0000)
commit36174c82ee3314e97e8750909f5ff61b7dccbb1b
tree2a696ea15c824e9308e4456e69b42c210b4e281b
parentfb06824788e06fcc4d2ba65724feae2bf5cfed15
re PR tree-optimization/37686 (Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.)

2008-10-15  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/37686
* testsuite/gcc.dg/tree-ssa/pr37686.c: New.
* tree-loop-linear.c (linear_transform_loops): Build a
loop nest vector.  Pass it to lambda_compute_access_matrices.
* tree-data-ref.h (struct access_matrix): Store the loop nest
relative to which it encodes the information.
(AM_LOOP_NEST_NUM): Renamed AM_LOOP_NEST.
(am_vector_index_for_loop): Reimplemented: iterate over the
loop nest for finding the loop index in the access matrix.
(lambda_compute_access_matrices): Update declaration.
* lambda-code.c (build_access_matrix): Pass the loop nest and
record it.
(lambda_compute_access_matrices): Same.

From-SVN: r141141
gcc/ChangeLog
gcc/lambda-code.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr37686.c [new file with mode: 0644]
gcc/tree-data-ref.h
gcc/tree-loop-linear.c