* gcc.dg/20000715-1.c: New test.

From-SVN: r35051
This commit is contained in:
Jakub Jelinek 2000-07-15 20:14:29 +02:00 committed by Jakub Jelinek
parent 91f4790ccd
commit a8c12308a0
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000715-2.c: New test.
* gcc.dg/20000715-1.c: New test.
2000-07-15 Michael Meissner <meissner@redhat.com>

View File

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