On Sun, May 18, 2014 at 4:42 PM, Basile Starynkevitch <bas...@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