This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
The real testcase for PPro bootstrap failure
- To: egcs at egcs dot cygnus dot com
- Subject: The real testcase for PPro bootstrap failure
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sat, 9 Jan 1999 21:08:24 -0800 (PST)
Hi,
This is a simple testcase for Pentium Pro. I believe it causes the
PPro bootstrap failure. It looks like there is a typo somewhere.
Could someone please take a look at it?
# ./xgcc -B./ bad.c -mcpu=pentiumpro -march=pentiumpro -O
# a.out
zsh: 7026 abort ./a.out
Thanks.
--
H.J. Lu (hjl@gnu.org)
---
int
foo (int x, int y, int i, int j)
{
double tmp1 = ((double) x / y);
double tmp2 = ((double) i / j);
return tmp1 < tmp2;
}
main ()
{
if (foo (2, 24, 3, 4) == 0)
abort ();
return 0;
}