------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 17:44 ------- Oh, the issue here is that a, b, and ret all could point to the same array because the type is (float[3])* or arraryptr in: typedef float array[3]; typedef array *arraryptr;
If we change ret, a, and b to be global variables, then the vectorizer could be done except for the fact: t.c:11: note: not vectorized: iteration count too small. t.c:11: note: bad operation or unsupported loop bound. t.c:11: note: vectorized 0 loops in function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18437