------- Additional Comments From dir at lanl dot gov 2005-06-02 13:31 ------- As gdb mostly does not work on the Macintosh (as I reported - Bug 20112) - I did not think to try it. In this case it showed that abort does not dump the file io buffers on the Macintosh - that is why there was no clue as to what the problem was. Here is a simple example of that problem (nothing was written to fort.3) -
[dranta:~/tests/gfortran] dir% gfortran -o callabort callabort.f [dranta:~/tests/gfortran] dir% callabort Abort [dranta:~/tests/gfortran] dir% cat callabort.f program test write(3,*)' error in program' call abort end [dranta:~/tests/gfortran] dir% cat fort.3 [dranta:~/tests/gfortran] dir% -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21787