This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / 990117-1.c
blob6d71787f305cbb86f6d0db94a385d9c58fe3505c
1 /* { dg-do compile { target i?86-*-* } } */
2 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
3 /* { dg-options "-O2 -march=pentiumpro" } */
5 extern __inline double
6 fabs (double __x)
8 register double __value;
9 __asm __volatile__
10 ("fabs"
11 : "=t" (__value) : "0" (__x));
12 return __value;
14 int
15 foo ()
17 int i, j, k;
18 double x = 0, y = ((i == j) ? 1 : 0);
19 for (i = 0; i < 10; i++)
21 fabs (x - y);
22 return 0;