blob: 0ea6062a5a913a6f5acf82bedf98951535b7c4ca [file] [log] [blame]
/* PR target/10904 */
/* Origin: <kminola@eng.umd.edu> */
/* Verify that the register allocator correctly aligns
floating-point registers on SPARC64. */
/* { dg-do assemble } */
/* { dg-options "-O2" } */
extern int foo1();
extern int foo2();
void foo(int n, int b)
{
int i, a;
foo1();
a = (long)(b * ((double) 0.1));
for (i=0; i < n; i++) {
foo2(a);
}
}