This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17741] ICE in gfc_free_namespace, at fortran/symbol.c:2208
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2006 19:18:39 -0000
- Subject: [Bug fortran/17741] ICE in gfc_free_namespace, at fortran/symbol.c:2208
- References: <bug-17741-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2006-01-22 19:18 -------
Here's the back trace.
#0 gfc_free_namespace (ns=0x861d800) at ../../gcc4x/gcc/fortran/symbol.c:2361
#1 0x0808a292 in free_sym_tree (sym_tree=0x8616560)
at ../../gcc4x/gcc/fortran/symbol.c:2328
#2 0x0808a2e3 in gfc_free_namespace (ns=0x861d800)
at ../../gcc4x/gcc/fortran/symbol.c:2376
#3 0x0808a3ea in gfc_symbol_done_2 () at ../../gcc4x/gcc/fortran/symbol.c:2423
#4 0x08073318 in gfc_done_2 () at ../../gcc4x/gcc/fortran/misc.c:293
#5 0x080786e6 in unexpected_eof () at ../../gcc4x/gcc/fortran/parse.c:1242
#6 0x08079439 in parse_spec (st=ST_NONE)
at ../../gcc4x/gcc/fortran/parse.c:1395
#7 0x08079791 in parse_spec (st=ST_INTERFACE)
at ../../gcc4x/gcc/fortran/parse.c:1526
#8 0x08079a55 in parse_progunit (st=ST_ALLOCATE)
at ../../gcc4x/gcc/fortran/parse.c:2328
#9 0x0807a0e0 in gfc_parse_file () at ../../gcc4x/gcc/fortran/parse.c:2631
The 2nd Error is trying to clean up a name space where the reference count
has not been increment from 0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17741