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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-09-03

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Tamar Christina from comment #1)
> compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE

here is a better testcase with no undefinedness:
```
int a;
float *b, *c;
void d(char * __restrict e) {
  for (; a; a++, b += 4, c += 4)
    if (*e++) {
      float *f = c;
      f[0] = b[0];
      f[1] = b[1];
      f[2] = b[2];
      f[3] = b[3];
    }
}
```

Just `-O3  -march=armv9-a` is needed.

Reply via email to