This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: True "no-exceptions" mode?
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- Cc: gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Sun, 18 May 2014 21:42:23 +0200
- Subject: Re: True "no-exceptions" mode?
- Authentication-results: sourceware.org; auth=none
- References: <CAF5HaEXwtrW7vS9XELVmEZ1GWmN_=RiM9TAzJSXGRbREA=LCUA at mail dot gmail dot com>
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.
This might be adding a pass which would detect and bark when
exception-related gimples are used.
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} ***