------- Comment #5 from dominiq at lps dot ens dot fr 2009-12-04 13:17 ------- > The smaller testcase of comment #1 is fixed with
Confirmed > The original fails because the vtable cannot be found. THis is due to: > use grid_module, only : grid > > Removing the ",only : grid" restores correct linkage. I don't see any difference with/without ",only : grid". In both cases I get: [trunk revision 154654] pr42051*.f90:27:0: internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:550 [branch fortran-dev revision 154936] and [trunk revision 154973p4v] f951: internal compiler error: in gfc_build_null_descriptor, at fortran/trans-array.c:372 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42051