This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50227] [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2011 17:09:22 +0000
- Subject: [Bug fortran/50227] [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable
- Auto-submitted: auto-generated
- References: <bug-50227-4@http.gcc.gnu.org/bugzilla/>
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).