------- Comment #4 from burnus at gcc dot gnu dot org  2007-02-06 16:34 -------
Not that it much helps, but with today's gcc under x86_64-unknown-linux-gnu it
does not crash.
Maybe someone with Intel Mac can reproduce it.

Oherwise:
Compile with the "-v" option, e.g.  gfortran -v -O3 env_grid.f
After the line "gcc-Version 4.3.0 20070206 (experimental)" is the actual
compilation command. On my computer it looks like:
/projects/tob/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/f951
env_grid.f -ffixed-form ...

Run now (replace the argument with yours of above)
 gdb /projects/tob/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/f951
(gdb) b real_abort
(gdb) b fancy_abort
(gdb) run env_grid.f -ffixed-form (... and the rest of the options)

When it stops, enter
(gdb) bt

This gives a backtrace and a hint where the error occurs. What exact version of
gfortran did you try? Do you know by chance whether this is a new problem or
was present in a previous version of gfortran 4.3?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30713

Reply via email to