Debian Codegraph @

gcc/testsuite/gcc.dg/20040127-1.c

raw
1 /* PR target/10904 */
2 /* Origin: <[email protected]> */
3
4 /* Verify that the register allocator correctly aligns
5 floating-point registers on SPARC64. */
6
7 /* { dg-do assemble } */
8 /* { dg-options "-std=gnu17 -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 }