This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Does it have to do with standard IEEE 754?
- From: Matsim Member <gabism at dove dot ethz dot ch>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 May 2002 16:07:17 +0200 (MET DST)
- Subject: Does it have to do with standard IEEE 754?
Hi,
My (scientific) program uses plenty of floating-point operations. It runs
without problem on Sparc (compiled with cc from SUN), on HP-UX (compiled with
cc from HP) and on SGI (compiled with cc from SGI). Under Linux (SuSe and
RedHat), as soon as it arrives at the point (shown by gdb) where
floating-point operations are heavily used, it crashes. It has exactly the
same behaviour under FreeBSD (which uses gcc as well).
I was curious and I compiled gcc on Solaris and then on HP-UX. The program,
compiled now with gcc (instead of native cc), crashed.
My conclusion is that gcc has a bug in performing such operations. Any
comments?
Thanks,
Jack