1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* PR tree-optimization/64807 */ /* { dg-do run { target int128 } } */ /* { dg-options "-O2" } */ __uint128_t foo (void) { __uint128_t a = -1; __uint128_t b = -1; return a / b; } int main () { if (foo () != 1) __builtin_abort (); return 0; }