[Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption

2008-09-11 Thread jakub at gcc dot gnu dot org


--- Comment #3 from jakub at gcc dot gnu dot org  2008-09-11 08:22 ---
It has absolutely nothing to do with mpfr (neither did the other memory
corruption), no idea where you got it from.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.4 Regression] mpfr   |[4.4 Regression]
   |related memory corruption,  |vect_supported_slp_permutati
   |part 2  |on_p memory corruption


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37474



[Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption

2008-09-11 Thread irar at il dot ibm dot com


-- 

irar at il dot ibm dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |irar at il dot ibm dot com
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-09-11 08:19:46 |2008-09-11 08:53:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37474



[Bug other/37474] [4.4 Regression] vect_supported_slp_permutation_p memory corruption

2008-09-11 Thread irar at il dot ibm dot com


--- 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