summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/alpha/20000715-1.c
blob: 3ff15604eb96800cb0f6907220e521e2b3b59ebc (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2 -mieee" } */

float foo(unsigned char n)
{
  float r = 10 * n;
  asm volatile("" : : : "memory");
  return r;
}