aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/GlobalModuleIndex.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-03-19 00:01:12 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-03-19 00:01:12 +0000
commit4af40c4083efdc50792dc7eecbb7b7fae713ca12 (patch)
treec94b1ca10efb5cf84b1884bc6ee068a27c4a24ac /clang/lib/Serialization/GlobalModuleIndex.cpp
parentfc9aad64361fbd887848d190c4320e257a6219ba (diff)
downloadllvm-4af40c4083efdc50792dc7eecbb7b7fae713ca12.zip
llvm-4af40c4083efdc50792dc7eecbb7b7fae713ca12.tar.gz
llvm-4af40c4083efdc50792dc7eecbb7b7fae713ca12.tar.bz2
PR15383: When -fsanitize=float-cast-overflow checks a float-to-int conversion,
it wasn't taking into account that the float should be truncated *before* the range check happens. Thus (unsigned)-0.99 and (unsigned char)255.9 have defined behavior and should not be trapped. llvm-svn: 177362
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
0 files changed, 0 insertions, 0 deletions