Skip to content
Commit 0b973d09 authored by Richard Smith's avatar Richard Smith
Browse files

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
parent 05f10357
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment