https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> Little bit convoluted testcase:
> 
> double a[1024];
> 
> int bar();
> void foo (int n)
> {
>   double x = 0, y = 0;
>   int i = 1023;
>   do
>     {
>       x += a[i] + a[i+1];
>       y += a[i] / a[i+1];
>       if (bar ())
>         break;
>     }
>   while (--i);
>   a[0] = x;
>   a[1] = y;
> }
> 

What compiler (ISA options) do you use in order to vectorize this?

Reply via email to