--- Comment #12 from brooks at gcc dot gnu dot org 2007-02-07 09:10 ---
(In reply to comment #7)
If I read the F2003 standrad correctly, then
your program conforms to F2003. You may want
to change this to an enhancement request.
This is incorrect -- the code does not conform to
--- Comment #13 from dominiq at lps dot ens dot fr 2007-02-07 09:24 ---
Subject: Re: recursive I/O hangs under OSX 10.3
Section 9.5.3.7.1, paragarph 2, defines a child I/O statement as one that's
occuring within a user-defined derived-type I/O function -- which is
definitely
not
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-02-05 22:15
---
When the program hangs, we're in
#0 0x9002bbc8 in semaphore_wait_signal_trap ()
#1 0x90001410 in pthread_mutex_lock ()
#2 0x0025595c in get_external_unit (n=6, do_create=275) at
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2007-02-06 03:04
---
See the commentary near the top of io/unit.c . This is a basic explanation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30617
--- Comment #8 from dir at lanl dot gov 2007-01-29 13:45 ---
It hangs on a Intel iMac -
[pactech01:~/tests] dir% gfortran -o recursiveio recursiveio.f90
[pactech01:~/tests] dir% recursiveio
test
1.00
^C
[pactech01:~/tests] dir% cat recursiveio.f90
external fun
--- Comment #9 from dominiq at lps dot ens dot fr 2007-01-29 14:13 ---
Subject: Re: recursive I/O hangs under OSX 10.3
It hangs on a Intel iMac
Thanks for the answer. So it hangs for the different flavor of OSX, but not
for x86_64-unknown-linux-gnu (4.3.0 20061231) and
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-27 21:47 ---
This might be a bug in Mac OS X's libraries.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-01-27 21:51
---
I recall some time ago working on the patch that enabled this feature.
I agree this is probably platform specific.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30617
--- Comment #6 from dominiq at lps dot ens dot fr 2007-01-27 22:01 ---
Subject: Re: recursive I/O hangs under OSX 10.3
I agree this is probably platform specific.
Can someone do the test on a Macintel? TIA
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30617
--- Comment #7 from kargl at gcc dot gnu dot org 2007-01-27 23:34 ---
(In reply to comment #3)
I believe recursive IO is undefined
Probably, but the same code works with
Target: x86_64-unknown-linux-gnu
gcc version 4.3.0 20061231 (experimental)
Undefined means undefined.
10 matches
Mail list logo