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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.4.0
             Status|RESOLVED                    |NEW
   Target Milestone|---                         |11.4
   Last reconfirmed|                            |2022-10-28
            Summary|Segmentation fault with     |[11/12/13 Regression]
                   |vectorized code.            |Segmentation fault with
                   |                            |vectorized code.
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1
      Known to fail|                            |11.1.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this code is undefined as x/y are arrays of size 1 but you access one
past.

But here is the main which makes this well defined:
int main(void)
{
        double x[2] = {0,0}, y[2] = {0,0};
        return dot(1, &x[0], 4096*4096, &y[0]);
}

Still an issue on the trunk.
Confirmed.

Reply via email to