]> granicus.if.org Git - clang/commit
-fcatch-undefined-behavior: Trap undefined behavior due to conversions to or
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 12 Oct 2012 22:57:06 +0000 (22:57 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 12 Oct 2012 22:57:06 +0000 (22:57 +0000)
commitb2aa66c0f5ad4e2c67b7d02af6a644432ca189cf
tree81d448289e46a632e0e1675f0e8160a9447264f3
parent74616824108151e139d84338db609cc32f065c05
-fcatch-undefined-behavior: Trap undefined behavior due to conversions to or
from a floating-point type where the source value is not in the range of
representable values of the destination type.

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