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

--- Comment #3 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 
2011-09-13 08:45:40 UTC ---
with
gcc version 4.7.0 20110910 (experimental) (GCC) 


int lmin(float const * __restrict__ c, int N) {
  int k=0;
  for (int i=1; i!=N; ++i)
     k =  (c[k] > c[i]) ? i : k;
  return k;
}

does not vectorize.
any suggestion how to modify it?

Reply via email to