Skip to content

Fix a bug in the inliner #44362

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 7, 2017
Merged

Fix a bug in the inliner #44362

merged 2 commits into from
Sep 7, 2017

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Sep 6, 2017

r? @eddyb

@RalfJung
Copy link
Member

RalfJung commented Sep 6, 2017

You can trigger this bug without miri being involved by running the following in the miri directory:

xargo/build.sh # do get a libstd with all the MIR, which means the MIR inliner has more options
rustc -Zmir-opt-level=3 --sysroot=$HOME/.xargo/HOST tests/run-pass-fullmir/unsized-tuple-impls.rs

@eddyb
Copy link
Member

eddyb commented Sep 6, 2017

This isn't a complete fix... I screwed up. I had return on both *local = l places, but then didn't need to return the value so I removed return but now it's wrong (both args and ret ptr).

@eddyb
Copy link
Member

eddyb commented Sep 6, 2017

@bors r+ Thanks!

@bors
Copy link
Collaborator

bors commented Sep 6, 2017

📌 Commit 5bb870f has been approved by eddyb

@Mark-Simulacrum
Copy link
Member

@bors rollup

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Sep 6, 2017
@alexcrichton alexcrichton added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 6, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Sep 7, 2017
bors added a commit that referenced this pull request Sep 7, 2017
@bors bors merged commit 5bb870f into rust-lang:master Sep 7, 2017
@oli-obk oli-obk deleted the patch-7 branch June 15, 2020 15:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants