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

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