summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/980226-1.c
blob: d5587c71b3c80329adf61b56d1f32c3a6e93a7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options -O2 } */

extern int printf (const char *, ...);
extern double bar (double);

int
baz (double d)
{
  double e = bar (d);
  asm volatile ("" : : : "st");
  return printf ("%lg\n", e);
}