This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/82077] [7/8 Regression] ICE on associating polymorphic array dummy with a type-guarded array section
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Sep 2017 20:00:44 +0000
- Subject: [Bug fortran/82077] [7/8 Regression] ICE on associating polymorphic array dummy with a type-guarded array section
- Auto-submitted: auto-generated
- References: <bug-82077-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82077
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-02
Ever confirmed|0 |1
--- Comment #2 from janus at gcc dot gnu.org ---
This slightly reduced test case only needs a sinlge type and a one-dimensional
array:
type :: child
end type
class(child), allocatable :: foo(:)
allocate(foo(1))
select type(foo)
class is (child)
call gfortran7_ICE(foo(1:1))
end select
contains
subroutine gfortran7_ICE(bar)
class(child) bar(:)
end subroutine
end