New testcase for x86 specific crash.

From-SVN: r18239
This commit is contained in:
Jeff Law 1998-02-25 16:07:14 -07:00
parent b94b5c16dd
commit c1b2e68daa

View File

@ -0,0 +1,12 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options -O2 } */
extern double bar (double);
int
baz (double d)
{
double e = bar (d);
asm volatile ("" : : : "st");
return printf ("%lg\n", e);
}