980520-1.c   [plain text]


/* { 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;
}