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



--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-31 07:59:51 
UTC ---

(In reply to comment #6)

> REOPEN.

> 

> As Dominique showed (thanks!), this bug is not fixed. It is only fixed if the

> function is 'contained' in another one (e.g. main program) or in a module.

> 

> Additionally, the gfortran.dg/allocatable_function_6.f90 also passes without

> the patch.

> 

> 

> Paul's patch fixes the issue (similarly to my original patch, which, however,

> regressed).

> 

> As Paul's patch doesn't regress: OK with reverting my patch and changing the

> test case to a noncontained procedure (plus interface block in the caller).



I probably cannot attend to this until next week - I'll come back to you about

it tomorrow.



Cheers



Paul

Reply via email to