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

--- Comment #3 from Alex Coplan <acoplan at gcc dot gnu.org> ---
This version ICEs with just -O3 on AArch64 (no longer needs -fwhole-program),
and fixes the -Woverflow warning:

char a;
void b(int d, int o, unsigned long long t[][22], int u[]) {
  for (int v = 0; v < d + 1488232569; v += o + 952017568)
    for (_Bool w = 0; w < (u[v] < 0) + 1; w = 1)
      a *= 0 != t[w][v];
}
static const int d = -1488232547;
static const int o = 3342949729;
unsigned long long t[2][22];
int u[2];
int main() {
  b(d, o, t, u);
}

Reply via email to