[cfe-dev] recent change broke -fcatch-undefined-behavior

Sean McBride sean at rogue-research.com
Tue Oct 16 08:58:43 PDT 2012


On Mon, 15 Oct 2012 23:55:51 -0700, Richard Smith said:

>> That's unfortunate that clang try to emit function calls on platforms that
>> does not support it.
>>
>
>Right now, we could just emit calls to @llvm.trap on unsupported platforms,
>but some of the remaining checks actually need runtime library support. I
>would prefer to get the runtime working on more platforms, rather than
>working around its absence.

Thanks to all for the explanations.

I guess I'm playing with fire by using svn trunk, but for me, this is a big regression: -fcatch-undefined-behavior has gone from a imperfect but helpful tool to be totally broken.  I do hope it'll work again before 3.2?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada






More information about the cfe-dev mailing list