gcc/testsuite/gcc.target/i386/headmerge-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target nonpic } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | /* { dg-final { scan-assembler-times "\\\$120|, 120" 1 } } */ |
| 5 | |
| 6 | extern void foo1 (int); |
| 7 | extern void foo2 (int); |
| 8 | |
| 9 | void t (int x, int y) |
| 10 | { |
| 11 | if (y < 5) |
| 12 | foo1 (120); |
| 13 | else |
| 14 | foo2 (120); |
| 15 | } |