r230255 - Only lower __builtin_setjmp / __builtin_longjmp to

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 9 06:00:40 PDT 2015


On Wed, Mar 04, 2015 at 05:48:02PM +0100, Joerg Sonnenberger wrote:
> On Tue, Mar 03, 2015 at 04:00:58PM -0800, John McCall wrote:
> > I think the best solution is for us to not claim to support __builtin_setjmp
> > and __builtin_longjmp on targets that don't support them.  That way we
> > avoid making any particular ABI commitment in the absence of an optimized
> > implementation; even if you don't care about GCC compatibility, you should
> > care about compatibility between clang versions.  And an error here would
> > simply disable the feature in Ruby's configure check.
> 
> r231245 does this, we now bail out in the frontend if the backend is not
> known to have support.

r231402 and r231280 are additional changes needed for broken tests
hitting the new errors. Can this be merged now?

Joerg



More information about the cfe-commits mailing list