Commit f86289d5 by Zdenek Dvorak Committed by Zdenek Dvorak

re PR tree-optimization/31383 (ICE with -O2 -ftree-vectorize (regression))

	PR tree-optimization/31383
	* tree-data-ref.c (affine_function_equal_p): Do not require the vectors
	to have the same length.

From-SVN: r123359
parent 4f40bddf
2007-03-30 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/31383
* tree-data-ref.c (affine_function_equal_p): Do not require the vectors
to have the same length.
2007-03-30 Jan Hubicka <jh@suse.cz>
PR middle-end/PR30700
......
......@@ -2069,7 +2069,8 @@ affine_function_equal_p (affine_fn fna, affine_fn fnb)
{
unsigned i, n = VEC_length (tree, fna);
gcc_assert (n == VEC_length (tree, fnb));
if (n != VEC_length (tree, fnb))
return false;
for (i = 0; i < n; i++)
if (!operand_equal_p (VEC_index (tree, fna, i),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment