I tried to migrate well running program from g77 to gfortran.
I found a problem with new gfortan:
>>Fortran runtime error: Bad value during floating point read<<
to read REAL from file.
>> read(nin,'(6e11.0)') a
and numbers were:
>> 7.73118- 3 4.26617+ 0 8.17285- 3 ...
It helps to add number '0' to exponent instead of space
>> 7.73118-03 4.26617+00 8.17285-03 ...
Input decks are very old so I'm not sure if it was some feature 
off g77.


-- 
           Summary: Bad value during floating point read
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ased at cce dot cz
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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

Reply via email to