[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Fri Dec 4 13:18:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list