aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/991129-1.c
blob: 038979a778bd338cc898479b74dae612f102d7ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Test against a problem in push_reload.  */

/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2" } */

unsigned long foo (unsigned long long x, unsigned long y)
{
    unsigned long a;

    x += y;

    asm ("" : "=a" (a) : "A" (x), "rm" (y));

    return a;
}