https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126058
Michal Jireš <mjires at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #5 from Michal Jireš <mjires at gcc dot gnu.org> ---
Number of ICE reports decreased, but few remain. Same error, same options,
bisected to the same commit.
Compiling testcase gfortran.dg/intent_out_9.f90
$ cat intent_out_9.f90
PROGRAM p
IMPLICIT NONE
TYPE t1
INTEGER, ALLOCATABLE :: i(:)
END TYPE
CONTAINS
SUBROUTINE s1(e)
TYPE(t1), ALLOCATABLE, INTENT(OUT) :: e(:)
ALLOCATE( e(1) )
ALLOCATE( e(1)%i(2) )
END SUBROUTINE
SUBROUTINE leak
TYPE(t1), ALLOCATABLE :: e(:)
CALL s1(e)
CALL s1(e)
END SUBROUTINE
END PROGRAM
$ gfortran intent_out_9.f90 -Wunused
For completeness, here is a list of other failing tests I found with the fixed
trunk (same options):
pr71526.f90
gomp/omp_parallel_1.f90
pr123949.f90