This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44064] [OOP] ICE with file containing two modules and one program
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2010 07:23:48 -0000
- Subject: [Bug fortran/44064] [OOP] ICE with file containing two modules and one program
- References: <bug-44064-18960@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from burnus at gcc dot gnu dot org 2010-05-11 07:23 -------
(Cross reference: PR 44065 is the same, except using two files, which leads to
a linking error instead of an ICE.)
I get - as written at http://gcc.gnu.org/ml/fortran/2010-05/msg00099.html:
hjf.f90:37:0: internal compiler error: Segmentation fault
(37 is the XXX line.) valgrind shows:
==17205== Invalid read of size 8
==17205== at 0x53F166: gfc_delete_symtree (symbol.c:2374)
==17205== by 0x540176: gfc_undo_symbols (symbol.c:2845)
==17205== by 0x510786: decode_statement (parse.c:271)
==17205== by 0x511C8C: next_statement (parse.c:722)
==17205== by 0x5155DB: gfc_parse_file (parse.c:4220)
==17205== by 0x54CB27: gfc_be_parse_file (f95-lang.c:239)
==17205== by 0x8383A2: toplev_main (toplev.c:1053)
==17205== by 0x5EA1B7C: (below main) (in /lib64/libc-2.11.1.so)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44064