[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 21:46:00 GMT 2009
------- Comment #4 from pault at gcc dot gnu dot org 2009-12-03 21:46 -------
(In reply to comment #3)
> The original fails because the vtable cannot be found. This is due to:
> use grid_module, only : grid
This is true of trunk:
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
/tmp/ccwercw1.o: In function `__field_module_MOD_output':
pr42051.f03:(.text+0x84): undefined reference to `vtab$grid.1611'
collect2: ld returned 1 exit status
fortran-dev ICEs at line 372 in trans-array.c. *sigh*
The reduced testcase is fine with both.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42051
More information about the Gcc-bugs
mailing list