This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/21787] libfortran - better error message needed
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2005 13:31:13 -0000
- Subject: [Bug libfortran/21787] libfortran - better error message needed
- References: <20050527162050.21787.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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