http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50407
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-09-15 21:13:16 UTC --- On Thu, Sep 15, 2011 at 08:21:04PM +0000, zeccav at gmail dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50407 > > --- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> 2011-09-15 > 20:21:04 UTC --- > I believe the code is valid, and it has nothing to do with recursive I/O. > If you comment out the write in the mul function gfortran still fails, so it > does not depend on recursive I/O. If I comment out the write statement and the 2.ip.8 statement, you again have invalid code because the return value of the function is never defined. But, as I stated, I need to check the requirements of the standard on recursive IO.