------- Comment #3 from kargl at gcc dot gnu dot org  2009-07-03 14:40 -------
Upgrade your compiler.  The bug appears to fixed in at least trunk
while the bug is present in 4.3.3.  I can't test 4.4.0 at the moment.

troutmask:sgk[203] gfc4x -o z testlun.f 
troutmask:sgk[204] ./z
troutmask:sgk[205] gfc43 -o z testlun.f 
troutmask:sgk[206] ./z
At line 8 of file testlun.f
Fortran runtime error: Unit number in I/O statement too large

PS: Your code would work fine with 4.3.x if you use a default
integer kind for the lun instead of an INTEGER(KIND=2)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40638

Reply via email to