1 /* { dg-do compile } */ 2 /* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow=1" } */ 3 4 /* Source: Ian Lance Taylor. */ 5 6 int foo(int i)7 foo (int i) 8 { 9 return __builtin_abs (i) >= 0; 10 } 11