1 /* { dg-do compile } */
2 /* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow=4" } */
4 /* Source: Ian Lance Taylor. */
12 for (i
= 1; i
< j
; i
+= i
)
13 sum
+= __builtin_abs (i
); /* { dg-warning "assuming signed overflow does not occur" "" } */