aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/980226-1.c
blob: 52ff614ed3a44c9645635ed3be04bae6e183a86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { 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);
}