Mark objects death at end of scope
Richard Guenther
richard.guenther@gmail.com
Thu Nov 3 09:24:00 GMT 2011
On Thu, Nov 3, 2011 at 2:10 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> 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.
There is a bug about not using -fexceptions (50857). If gnattools are
built with
the C++ compiler they should also link with the G++ driver, so that's
worth fixing
anyway I think.
Richard.
> --
> Eric Botcazou
>
More information about the Gcc-patches
mailing list