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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> (In reply to Tamar Christina from comment #2)
> > compiled with -mcpu=neoverse-v1 -Ofast reproduces the ICE
> 
> `-march=armv9-a -O3 ` is enough to reproduce it.

The k field is not needed:
```
struct a
{
  _Complex double j;
  double l;
};

void b(struct a *__restrict c,
       struct a *__restrict  g,
       int e, double f)
{
  for(int i = 0; i < e; i++)
  {
        c[i].j  = g[i].j;
        c[i].l  = g[i].l;
  }
}

Reply via email to