This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23538] gfortran hangs on old cray fortran 66 program
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2005 17:54:54 -0000
- Subject: [Bug fortran/23538] gfortran hangs on old cray fortran 66 program
- References: <20050823210151.23538.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kargl at gcc dot gnu dot org 2005-08-24 17:54 -------
Changing the * in the format statements and the encode/decode statements
may help prevent gfortran from getting stuck, but there are several other
nonstandard statements in the code.
To deal with gfortran getting stuck, I think the simplest solution is to
introduce a -ferror-count=N option where gfortran will die with a fatal
error after N error messages have been emitted. This, of course, only
papers over the problem, but redesigning gfortran's error handling/reporting
is going to be a really big effort.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23538