This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Mark objects death at end of scope
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Nov 2011 02:10:06 +0100
- Subject: Re: Mark objects death at end of scope
- References: <Pine.LNX.4.64.1111022347110.30317@wotan.suse.de>
> And there's also one issue with Ada that I need help with: it doesn't
> build anymore. ;-) Well, the tools don't link when C++ bootstrap is
> active. This is because our whole libbackend is compiled with g++, and
> hence uses the gxx_personality_v0 routines. But the gnattools are linked
> with a hardcoded ../../xgcc (missing all the C++ libs) leading to the
> symbol not found. Up to now this accidentally was no problem because g++
> is so nice that if no EH mechanisms are used it doesn't force any
> personality. I'm not sure what the best fix here is.
Compile with -fno-exceptions? Generating EH stuff for code that doesn't make
use of EH at all doesn't look very appealing to me.
--
Eric Botcazou