Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20040127-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |