This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 09:18:19 -0000
- Subject: [Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5
- References: <bug-37057-16570@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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