This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50627] [OOP] Error recovery: ICE in gfc_free_namespace after properly diagnosing bogus SELECT TYPE in MODULE
- 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: Thu, 06 Oct 2011 10:58:57 +0000
- Subject: [Bug fortran/50627] [OOP] Error recovery: ICE in gfc_free_namespace after properly diagnosing bogus SELECT TYPE in MODULE
- Auto-submitted: auto-generated
- References: <bug-50627-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627
--- Comment #2 from janus at gcc dot gnu.org 2011-10-06 10:58:57 UTC ---
(In reply to comment #1)
> > f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3259
>
> That line is:
>
> gcc_assert (ns->refs == 0);
... and the problem is that ns->refs is "-1", which probably means we free the
namespace twice ?!?