https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100061
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase: __attribute__((noipa)) void foo (int x, int y) { if (x > y && x > y + 1) __builtin_abort (); } int main () { foo (-1, __INT_MAX__); return 0; }