This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50627] [OOP] Error recovery: ICE in gfc_free_namespace after properly diagnosing bogus SELECT TYPE in MODULE


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 ?!?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]