[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug fortran/56765] [OOP] compilation errors/ICE with unlimited polymorphic array
From: "janus at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2013-03-31 17:35:13
Message-ID: bug-56765-4-9FDni2zj8K () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56765
--- Comment #4 from janus at gcc dot gnu.org 2013-03-31 17:35:13 UTC ---
Btw, this bug does not require unlimited polymorphism, but also shows up with
normal ('limited'?) CLASS definitions:
program t_limited
implicit none
type :: t
integer :: i = 0
end type
class(t), dimension(:), pointer :: u
u => sub()
contains
function sub() result(r)
class(t), dimension(:), pointer :: r
type(t), dimension(3), target :: x = t(1)
r => x
end function
end program
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic