This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: True "no-exceptions" mode?
- From: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- To: Basile Starynkevitch <basile at starynkevitch dot net>
- Cc: gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Sun, 18 May 2014 17:06:38 -0300
- Subject: Re: True "no-exceptions" mode?
- Authentication-results: sourceware.org; auth=none
- References: <CAF5HaEXwtrW7vS9XELVmEZ1GWmN_=RiM9TAzJSXGRbREA=LCUA at mail dot gmail dot com> <1400442143 dot 12665 dot 8 dot camel at glinka dot lesours>
On Sun, May 18, 2014 at 4:42 PM, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> On Sun, 2014-05-18 at 12:33 -0300, Daniel Gutson wrote:
>> Hi,
>>
>> I am needing a truly exceptions-clean (or exceptions-free) binary due to
>> some embedding systems platform.
>> -fno-exceptions is not enough of course.
>
>
> Did you think of making some extension (using MELT, see
> http://gcc-melt.org/ for more) or some plugin (in C++) which would
> at least check that no exception gimple is going thru.
Yes, but it doesn't help: the problem is NOT in the compiler only, but
in the STL it gets linked with. That's why multilib stuff is required.
>
> This might be adding a pass which would detect and bark when
> exception-related gimples are used.
Can that act as a multilib selector?
>
> Regards
> --
> Basile STARYNKEVITCH http://starynkevitch.net/Basile/
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> *** opinions {are only mine, sont seulement les miennes} ***
>
>
--
Daniel F. Gutson
Chief Engineering Officer, SPD
San Lorenzo 47, 3rd Floor, Office 5
CÃrdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211
Skype: dgutson