[Bug libfortran/30617] recursive I/O hangs under OSX

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 8 03:12:00 GMT 2007



------- Comment #15 from jvdelisle at gcc dot gnu dot org  2007-02-08 03:12 -------
Try :

external fun
real fun
character(10) :: string
real a
a = fun()
print *, a,a
write(string,'(f10.6)') fun()
print *, string
end
real function fun()
print *, 'test'
fun = 1.0
end

Or increase the size of string.


-- 


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



More information about the Gcc-bugs mailing list