[Bug tree-optimization/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 2 15:04:00 GMT 2008
------- Comment #16 from jakub at gcc dot gnu dot org 2008-10-02 15:03 -------
Wonder whether just am_vector_index_for_loop shouldn't be:
static inline int
am_vector_index_for_loop (struct access_matrix *access_matrix, int loop_num)
{
int depth1 = loop_depth (get_loop (loop_num));
int depth2 = loop_depth (get_loop (AM_LOOP_NEST_NUM (access_matrix)));
gcc_assert (depth1 >= depth2
&& depth1 - depth2 <= AM_NB_INDUCTION_VARS (access_matrix));
return depth1 - depth2;
}
Certainly subtracting two loop_num numbers doesn't make much sense to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37686
More information about the Gcc-bugs
mailing list