OSDN Git Service

* gcc.dg/uninit-H.c: Define ASM for Xtensa targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20040127-1.c
1 /* PR target/10904 */
2 /* Origin: <kminola@eng.umd.edu> */
3
4 /* Verify that the register allocator correctly aligns
5    floating-point registers on SPARC64.  */
6
7 /* { dg-do assemble } */
8 /* { dg-options "-O2" } */
9
10 extern int foo1();
11 extern int foo2();
12
13 void foo(int n, int b)
14 {
15   int i, a;
16
17   foo1();
18
19   a = (long)(b * ((double) 0.1));
20
21   for (i=0; i < n; i++) {
22     foo2(a);
23   }
24 }