------- Comment #5 from burnus at gcc dot gnu dot org 2010-03-12 17:05 ------- (In reply to comment #4) > Actually, in list_read.c's parse_real gfortran already handles inf(inity) and > nan (_but_ _not _"nan(string)"). Thus, using 'read(*,*) a' works.
Also list_read.c's "read_real" handles INF/NAN but not "NaN(...)". Thus: - parse_real needs to support NaN(alphanum) - read_real needs to support NaN(alpanum) - read_f needs to get Inf+NaN support - convert_real needs to get the comment updated (assuming POSIX/C99 strtod) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43298