aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/pr33600.c
blob: a2ab91e57b95cea3bf0f1bc6557a905f79dbe524 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2" } */
int f(int n)
{
        int x;

        asm("" : "=&c"(n), "=r"(x) : "1"(n), "0"(n));

        return n;
}