mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
New testcase for x86 specific crash.
From-SVN: r18239
This commit is contained in:
parent
b94b5c16dd
commit
c1b2e68daa
12
gcc/testsuite/gcc.dg/980226-1.c
Normal file
12
gcc/testsuite/gcc.dg/980226-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user