diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-02-25 14:13:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-25 14:13:38 +0200 |
| commit | 582d5d9793fc017d47b6cea7ab0bfd4755ee05cc (patch) | |
| tree | b856472d279761c3e5ba6aea2e87a9840f00aa9d /src/test/incremental/thinlto | |
| parent | 4f9d6d6c9f71c848478a372b664df88226ce5796 (diff) | |
| parent | ffc6ddd51b960469ffee8d2fb80d5a664e2a6c21 (diff) | |
| download | rust-582d5d9793fc017d47b6cea7ab0bfd4755ee05cc.tar.gz rust-582d5d9793fc017d47b6cea7ab0bfd4755ee05cc.zip | |
Rollup merge of #40037 - froydnj:overflow-checks, r=alexcrichton
add `-C overflow-checks` option In addition to defining and handling the new option, we also add a method on librustc::Session for determining the necessity of overflow checks. This method provides a single point to sort out the three (!) different ways for turning on overflow checks: -C debug-assertions, -C overflow-checks, and -Z force-overflow-checks. I was seeing a [run-pass/issue-28950.rs](https://github.com/rust-lang/rust/blob/b1363a73ede57ae595f3a1be2bb75d308ba4f7f6/src/test/run-pass/issue-28950.rs) failure on my machine with these patches, but I was also seeing the failure without the changes to the core compiler. We'll see what travis says. Fixes #33134. r? @alexcrichton
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
