This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2008 09:58:49 -0000
- Subject: [Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption
- References: <bug-37474-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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