Re: [Patch, Fortran] PR54618 fix some INTENT(OUT) issues for CLASS

2012-09-22 Thread Janus Weil
Hi Tobias, > This patch fixes a couple of issues, I run into when working on FINAL > subroutines. > > > a) PR54618: > > (i) For a nonallocatable CLASS(...),INTENT(OUT), gfortran is setting the the > _def_init; however, for OPTIONAL this has to be guarded by an is-present > check. > > (ii) For CLAS

[Patch, Fortran] PR54618 fix some INTENT(OUT) issues for CLASS

2012-09-19 Thread Tobias Burnus
This patch fixes a couple of issues, I run into when working on FINAL subroutines. a) PR54618: (i) For a nonallocatable CLASS(...),INTENT(OUT), gfortran is setting the the _def_init; however, for OPTIONAL this has to be guarded by an is-present check. (ii) For CLASS(...),ALLOCATABLE, INTEN