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

Sean McBride sean at rogue-research.com
Tue Nov 13 15:08:11 PST 2012

On Tue, 16 Oct 2012 23:35:37 -0700, Richard Smith said:

>> >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?
>Yes, I've been promised access to a Mac, and I'll get it working there, if
>no-one else gets there first :)


With 3.2 now in RC phase, I'd thought I'd pester about -fcatch-undefined-behavior on OS X...  It worked in 3.1, will it be restored in 3.2?  I don't see anything connected to it here:


Do you need a bug report?


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