summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/File.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-12-18 02:33:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-12-18 02:33:09 +0000
commit0b973d091a1f571e626306632fbb0ba3be8fc07c (patch)
tree0f8c475432e2ecd4137f3f99eed0d788b7366dc4 /lld/lib/Core/File.cpp
parent05f10357a93cb892d630c71a8b4a94c4eec3558e (diff)
downloadbcm5719-llvm-0b973d091a1f571e626306632fbb0ba3be8fc07c.tar.gz
bcm5719-llvm-0b973d091a1f571e626306632fbb0ba3be8fc07c.zip
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. llvm-svn: 146842
Diffstat (limited to 'lld/lib/Core/File.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud