[Bug fortran/23538] gfortran hangs on old cray fortran 66 program

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 24 18:05:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list