------- Comment #1 from pinskia at gcc dot gnu dot org  2008-05-20 19:42 -------
Even worse:
#define vector __attribute__((vector_size(16) ))
vector int foo ()
{
  vector int i, sum = 0, data[1024];

  for(i = 0; i<1024; i++)
    sum += data[i];

  return sum;
}

With -O2 -ftree-parallelize-loops=2, this does not get parallelized at all even
though we did not run the vectorizer.


-- 


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

Reply via email to