This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: True "no-exceptions" mode?

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]