This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30617] recursive I/O hangs under OSX
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2007 03:12:26 -0000
- Subject: [Bug libfortran/30617] recursive I/O hangs under OSX
- References: <bug-30617-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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