This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66577] ICE in generate_finalization_wrapper, at fortran/class.c:1567
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 08 Nov 2015 05:31:15 +0000
- Subject: [Bug fortran/66577] ICE in generate_finalization_wrapper, at fortran/class.c:1567
- Auto-submitted: auto-generated
- References: <bug-66577-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66577
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Since the ICE is at the same location as for pr61767 and the following test
module json
type :: array_element
contains
final :: array_element_delete
end type
type, public :: json_array_iterator
integer, allocatable :: Dummy
type(array_element), pointer :: element
end type
contains
subroutine array_element_delete (this)
type(array_element) :: this
end subroutine
subroutine array_iter_next (this)
class(json_array_iterator) :: this
end subroutine
end module
compiles fine (addition of "integer, allocatable :: Dummy" to the test in
comment 2), I think this is a duplicate of pr61767.
*** This bug has been marked as a duplicate of bug 61767 ***