summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/headmerge-1.c
blob: 0c1914340ba6f0ce6cfd8120fbf2a108138273eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile }  */
/* { dg-options "-O2" }  */
/* { dg-final { scan-assembler-times "\\\$120|, 120" 1 } } */

extern void foo1 (int);
extern void foo2 (int);

void t (int x, int y)
{
  if (y < 5)
    foo1 (120);
  else
    foo2 (120);
}