svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040127-1.c
blob0ea6062a5a913a6f5acf82bedf98951535b7c4ca
1 /* PR target/10904 */
2 /* Origin: <kminola@eng.umd.edu> */
4 /* Verify that the register allocator correctly aligns
5 floating-point registers on SPARC64. */
7 /* { dg-do assemble } */
8 /* { dg-options "-O2" } */
10 extern int foo1();
11 extern int foo2();
13 void foo(int n, int b)
15 int i, a;
17 foo1();
19 a = (long)(b * ((double) 0.1));
21 for (i=0; i < n; i++) {
22 foo2(a);