------- Comment #23 from irar at il dot ibm dot com 2009-12-20 12:18 ------- The code that now gets vectorized is the summation of array 'reduce': sum(reduce). It looks like the problem is with adding the reduction result to the correct index of 'temp' (scalar code), and not with the reduction itself. Could you please verify that by printing the reduction result?
Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082