summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr28946.c
blob: bdc2fd15f7f846cc873bfd91053e2a52294a5f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-Os" } */
/* { dg-final { scan-assembler-not "test" } } */

int fct1 (void);
int fct2 (void);

int
fct (unsigned nb)
{
  if ((nb >> 5) != 0)
    return fct1 ();
  else
    return fct2 ();
}