------- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-11-23 02:10 ------- Actually the problem was that gfortran was failing to set the record length to the value requested in the OPEN statement. Now as far as emitting an error or warning I have a concern.
If the user specifies a RECL= and the size of the output list in a WRITE exceeds that value, we should not lengthen the record. That implies truncating the output list. Based on that I think we should issue a runtime error. If the output list is shorter then RECL= then the balance of the record is undefined and we can just continue on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29936