On 10/10/2013 04:46 AM, Tobias Burnus wrote:
I considered to add the annotation also to C++11's range-based loops,
but as those are unlikely to vectorize, I didn't do so.

I would think that a range-based loop over an array should vectorize nicely:

int ar[8];
for (int i: ar) { ... }

But your most recent patch is OK.

Jason

Reply via email to