1 2 3 4 5 6 7 8
/* { dg-do compile } */ /* { dg-options "-O2 -Wstrict-overflow=4" } */ int f (int i) { return __builtin_abs (i * i); /* { dg-warning "assuming signed overflow" } */ }