aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/47698.c
blob: fc889b40f4054bd9ff9efdcff751cfbe348fccd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-Os" } */
/* { dg-final { scan-assembler-not "cmov" } } */

extern volatile unsigned long mmio;
unsigned long foo(int cond)
{
      if (cond)
              return mmio;
        return 0;
}