8sa1-gcc/gcc/testsuite/gcc.dg/991129-1.c
Bernd Schmidt 97c1c80b37 New test: gcc.dg/991129-1.c
From-SVN: r30703
1999-11-29 12:18:56 +00:00

16 lines
276 B
C

/* Test against a problem in push_reload. */
/* { dg-do compile { target i?86-*-* } } */
/* { 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;
}