]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #49965 - nikic:fix-49622, r=rkruppe
authorkennytm <kennytm@gmail.com>
Mon, 16 Apr 2018 17:51:04 +0000 (01:51 +0800)
committerkennytm <kennytm@gmail.com>
Mon, 16 Apr 2018 19:34:33 +0000 (03:34 +0800)
commit87cd53e63f4677d5bf4a542162449bc278b0aaa0
tree9cf04c22f935c6adba30d13d7b678203ba12427c
parent34ee31d6f2b7d7003ef8f623cd2c0b1fc1e010bb
parentcbabb1be329b80f012223b230384cba8134820f6
Rollup merge of #49965 - nikic:fix-49622, r=rkruppe

Remove warning about f64->f32 cast being potential UB

As discussed in #15536, the LLVM documentation incorrect described overflowing f64->f32 casts as being undefined behavior. LLVM never treated them as such, and the documentation has been adjusted in https://reviews.llvm.org/rL329065. As such, this warning can now be removed.

Closes #49622.

---

I could not find any existing test checking for this warning. Should I be adding a test for the absence of the warning instead?