This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: EXC_ARITHMETIC when writing a floating point variable
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: rd dot daal at gmail dot com
- Date: Sun, 31 Oct 2010 17:20:35 +0100
- Subject: Re: EXC_ARITHMETIC when writing a floating point variable
Richard,
Usual comment: give a nonworking reduced test case!
You can also use -Wall and -Wuninitialized (with -O
for the later). Try to find the minimal set of options
tha trigger the problem: do you really need
-fdefault-double-8 -fdefault-integer-8 -fdefault-real-8?
If yes, are not you passing REAL variables to procs
expecting a REAL(4) (old timing procs are good candidates)?
You can also use valgrind on Mac OS 10.6.4 (I build it
with fink, but it may exist on macports).
If none of the above works, you can mail me the code
and I can have a look.
Cheers,
Dominique