I find this hard to believe but a g77 code that has been in use for years crashed at the first OPEN statement when compiled with gfortran 4.3.1. Attached 15 line test program reproduces the effect, stops at line 8 with the error message:
At line 8 of file testlun.f Fortran runtime error: Unit number in I/O statement too large but the unit number was set to 12. Investigation shows it can be set to any value, even 1. I am guessing this is hardware-related. It is a new system--ASUS MB with Intel Core I7 CPU. Identical code runs fine with same gfortran installed on a system equipped with an earlier Intel chip. -- Summary: RTE: "Unit number in I/O statement too large" -- falls with any low value Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dtprice at shaw dot ca GCC build triplet: gfortran -Wall testfile.f GCC host triplet: Intel Core I7; SuSE 11; http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40638