[cfe-commits] r167258 - in /cfe/trunk: lib/CodeGen/CGExprScalar.cpp test/CodeGen/trapv.c

Richard Smith richard at metafoo.co.uk
Thu Nov 1 15:29:06 PDT 2012


On Thu, Nov 1, 2012 at 3:26 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Fri, Nov 2, 2012 at 12:13 AM, Richard Smith
> <richard-llvm at metafoo.co.uk> wrote:
>> Author: rsmith
>> Date: Thu Nov  1 17:13:39 2012
>> New Revision: 167258
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=167258&view=rev
>> Log:
>> Remove divison-by-zero checks from -ftrapv. These checks were incompatible with
>> g++'s -ftrapv, failed to call the -ftrapv overflow handler, and are still
>> available under -fcatch-undefined-behavior.
>
> Does this mean that PR11854 is WONTFIX?

Thanks for pointing that out; I'm going to call it 'fixed'. The
fine-grained control requested there will be provided by -fsanitize=
options.



More information about the cfe-commits mailing list