[Bug fortran/50227] [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 30 17:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50227
--- Comment #12 from janus at gcc dot gnu.org 2011-08-30 17:09:22 UTC ---
(In reply to comment #11)
> And indeed it seems to fix the segfault.
... and regtests cleanly.
Unfortunately, there is one more complication: When compiling the two files
from comment #1 one after the other, one gets a linker error:
> gfortran-4.7 -c module.f90
> gfortran-4.7 program.f90
/tmp/ccU0pMIF.o: In function `MAIN__':
program.f90:(.text+0x16): undefined reference to
`__g_nodes_MOD___vtab_g_nodes_T0'
program.f90:(.text+0x87): undefined reference to
`__g_nodes_MOD___vtab_g_nodes_T1'
Note: This seems to happen with trunk and 4.6, while it works with 4.5. I was
hoping we had gotten rid of those for good (cf. e.g. PR44065 and PR45674).
More information about the Gcc-bugs
mailing list