This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]