Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / fnsplit-1.c
blob1b9696dcb117be38913423b82299a0ec71e97ee2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fnsplit" } */
3 #include <stdio.h>
4 int a[1000];
6 void
7 t(int a)
9 if (a)
10 printf ("I Am Completely Operational,"),
11 printf ("And All My Circuits Are Functioning Perfectly\n");
13 int
14 main(void)
16 int i;
17 for (i = 0; i < 1000; i++)
18 t(a[i]);
19 return 0;
21 /* { dg-final { scan-tree-dump-times "Splitting function at:" 1 "fnsplit"} } */
22 /* { dg-final { scan-tree-dump-times "Invalid sum" 0 "fnsplit"} } */