parent
aee21ba9f7
commit
05930232f1
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue