------- Comment #12 from hubicka at ucw dot cz  2008-09-14 09:18 -------
Subject: Re:  7 Internal Compiler Errors when compiling OpenFOAM-1.5

> Honza,
> 
> I may not be analyzing this correctly, but it looks like
> cgraph_remove_unreachable_nodes() may be removing something that is not dead. 
> Is cgraph handling constructors and destructors on non-ELF systems correctly?

It ought to be.  I.e. as long as I remember, the constructors either
appear local but have DECL_STATIC_CONSTRUCTOR on ELF or they are
externally visible functions with specially mangled names.
Perhaps there is yet another way to handle it?  They should be
recognized by decide_is_function_needed predicate in cgraphunit.c

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37057

Reply via email to