8sa1-gcc/gcc/testsuite/gcc.dg/20000715-1.c
Jakub Jelinek a8c12308a0 * gcc.dg/20000715-1.c: New test.
From-SVN: r35051
2000-07-15 20:14:29 +02:00

10 lines
179 B
C

/* { dg-do compile { target alpha*-*-* } } */
/* { dg-options "-O2 -mieee" } */
float foo(unsigned char n)
{
float r = 10 * n;
asm volatile("" : : : "memory");
return r;
}