This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Mimic OSF with gcc
- From: Mathieu Malaterre <mathieu dot malaterre at kitware dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Fri, 10 Sep 2004 9:53:04 -0400
- Subject: Mimic OSF with gcc
- Organization: Kitware Inc.
Hello,
I am currently trying to track down a FPE on an OSF/Tru64 Compaq system (which I don't have access to). I was thinking that I could reproduce the compiler behavior by carefully choosing the flags in gcc to reproduce it.
Does anyone ever deals with this problem ?
So far what I have been doing is adding in my code:
unsigned int fpucw= 0x1372;
__asm__ ("fldcw %0" : : "m" (fpucw));
and recompile everything using
-fno-trapping-math -mno-ieee-fp
So far I couldn't reproduce the bug,
Any other ideas/suggestions ?
Thanks
Mathieu