8sa1-gcc/gcc/testsuite/gcc.dg/980520-1.c
Jeffrey A Law 05930232f1 * gcc.dg/980520-1.c: New test.
From-SVN: r19937
1998-05-21 16:21:28 -06:00

18 lines
375 B
C

/* { dg-do compile { target i?86-*-* } } */
/* { dg-options -O2 } */
int bug(void)
{
unsigned long a, b;
__asm__(""
: "=d" (a)
:
: "memory");
__asm__ __volatile__(""
:
: "g" (b)
: "memory");
return a;
}