Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / headmerge-2.c
blob36637a64eb3276b18f0a09f5fc5f8a8ed8565bd8
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "120" 1 } } */
5 extern void foo1 (int);
6 extern void foo2 (int);
7 extern void foo3 (int);
8 extern void foo4 (int);
9 extern void foo5 (int);
10 extern void foo6 (int);
12 void t (int x, int y)
14 switch (y)
16 case 1:
17 foo1 (120);
18 break;
19 case 5:
20 foo2 (120);
21 break;
22 case 7:
23 foo3 (120);
24 break;
25 case 10:
26 foo4 (120);
27 break;
28 case 13:
29 foo5 (120);
30 break;
31 default:
32 foo6 (120);
33 break;