[Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption
irar at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 11 10:00:00 GMT 2008
------- Comment #4 from irar at il dot ibm dot com 2008-09-11 09:58 -------
Testing:
Index: tree-vect-analyze.c
===================================================================
--- tree-vect-analyze.c (revision 140274)
+++ tree-vect-analyze.c (working copy)
@@ -3200,6 +3200,10 @@ vect_supported_load_permutation_p (slp_i
/* FORNOW: the only supported permutation is 0..01..1.. of length equal to
GROUP_SIZE and where each sequence of same drs is of GROUP_SIZE length as
well. */
+ if (VEC_length (int, load_permutation)
+ != (unsigned int) (group_size * group_size))
+ return false;
+
supported = true;
for (j = 0; j < group_size; j++)
{
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37474
More information about the Gcc-bugs
mailing list