diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-18 02:33:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-18 02:33:09 +0000 |
commit | 2116b144cf07f2574d20517187eb8863645376eb (patch) | |
tree | feb8e4d4d5b0e3a20f6281f2a854d2dd065340a4 /lib/Basic/SourceManager.cpp | |
parent | a1be278c4f3a234ff61f04018d26c6beecde1654 (diff) |
PR11604: don't allow floating-literal-to-integer casts in ICEs if the (truncated)
floating literal value does not fit into the destination type. Such casts have
undefined behavior at translation time; treating them as non-ICE matches the
behavior of modern gcc versions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions