This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix unsafe function attributes for special functions (PR 71876)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Bernd Edlinger <bernd dot edlinger at hotmail dot de>, Richard Biener <rguenther at suse dot de>, "jakub at redhat dot com" <jakub at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Jul 2016 22:02:23 +0200
- Subject: Re: [PATCH] Fix unsafe function attributes for special functions (PR 71876)
- Authentication-results: sourceware.org; auth=none
- References: <AM4PR0701MB216226C00439A01515A3AA5FE4370@AM4PR0701MB2162.eurprd07.prod.outlook.com> <AM4PR0701MB2162C39FC335EEDAE6A74594E4080@AM4PR0701MB2162.eurprd07.prod.outlook.com> <5bd6a6bb-812e-73ec-0958-48019439274f@redhat.com>
> Very few targets continue to use SJLJ eh (perhaps just cygwin/mingw).
> *But* I think the Ada front-end explicitly uses SJLJ EH, so if you want
> to get some smoke testing, the Ada testsuite is probably the place to go.
Right, the Ada front-end uses an EH scheme directly based on __builtin_setjmp
(which is similar but distinct from the regular SJLJ EH because the front-end
directly manages the SJLJ buffers) for internal EH. Note that it's on the
host only, for the target it uses the same EH scheme as C++/Java/etc.
--
Eric Botcazou