]> granicus.if.org Git - clang/commit
Remove divison-by-zero checks from -ftrapv. These checks were incompatible with
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Nov 2012 22:13:39 +0000 (22:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Nov 2012 22:13:39 +0000 (22:13 +0000)
commitbb12243a487e70c0e65bcebdaa12ad754f92e022
tree81b53d4d0c42eb8d80da26ad835b6793856d0ce1
parent54c45453359b47646a1c8d072b02f628b7e16eaa
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/trapv.c