http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640
--- Comment #18 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-07
08:11:34 UTC ---
(In reply to comment #16)
> Created attachment 25730 [details]
> Possible patch which pushes the vtab to the toplevel
At least that approach fails for the following file (of PSBLAS 3's configure),
which yields an
internal compiler error: in cgraph_analyze_functions, at cgraphunit.c:1193
which is at
fprintf (cgraph_dump_file, "\nReclaiming functions:");
for (node = cgraph_nodes; node != first_analyzed; node = next)
{
...
gcc_assert (node->analyzed == node->local.finalized);
program xtt
type foo
integer :: i
end type foo
type, extends(foo) :: new_foo
integer :: j
end type new_foo
class(foo), allocatable :: fooab
type(new_foo) :: nfv
integer :: info
allocate(fooab, source=nfv, stat=info)
end program xtt