* gcc.dg/980520-1.c: New test.

From-SVN: r19937
This commit is contained in:
Jeffrey A Law 1998-05-21 22:21:28 +00:00 committed by Jeff Law
parent aee21ba9f7
commit 05930232f1
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu May 21 23:23:21 1998 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980520-1.c: New test.
Wed May 20 14:37:15 1998 Manfred Hollstein <manfred@s-direktnet.de>
* gcc.dg/980502-1.c: Fix return type.

View File

@ -0,0 +1,17 @@
/* { 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;
}