tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr79818.c
blob5c12089a7a6497c2383f1ca9054e006a27023cb6
1 /* { dg-do run } */
2 /* { dg-additional-options "-fwrapv" } */
4 static void __attribute__((noinline,noclone))
5 func(void)
7 signed char c = 0;
9 for(; c >= 0; c++);
11 if(c != -128)
12 __builtin_abort();
15 int main(int argc, char* argv[])
17 func();
18 return 0;