https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111003
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-08-12 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmned. The good news is the issue can be reproduced even without < (replaced with !&) and m being initialized: ``` static int c, d, e, f; static short g; static int *h = &c; void foo(void); short(a)(); static unsigned b(unsigned char j, int l) { return j > l ? j : j << l; } static int *i(); static void k(int j, unsigned char l) { i(); g = f; f = g; for (; g;) { int m = 0; d = a(); for (; d;) { if (l) if (!(j >= -639457069 && j <= -639457069)) if (m) foo(); m = !(10 != (l ^ b(j, 6))) & (0 > e); } } } static int *i() { for (; e; e = a(e, 6)) ; return h; } int main() { k(c, c); } ```