This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization
- From: "maximilien.levesque at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 May 2016 10:31:45 +0000
- Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization
- Auto-submitted: auto-generated
- References: <bug-70350-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70350
max <maximilien.levesque at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maximilien.levesque at gmail dot c
| |om
--- Comment #6 from max <maximilien.levesque at gmail dot com> ---
I confirm on 5.3.1 20160413
A very small contribution (In reply to Lorenz HÃdepohl from comment #5) to make
the example self-sufficient:
! compile with
! gfortran -fcheck=all
program m
type subtype
real, allocatable :: array(:)
end type subtype
type object
type(subtype), allocatable :: array_of_subtypes(:,:,:)
end type object
contains
subroutine allocate_objects(this)
class(object), intent(inout) :: this
allocate(this%array_of_subtypes(1,2,3))
end subroutine
end program m