Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Disable nonzeroing move hint by default #27582

Merged

Conversation

pnkfelix
Copy link
Member

@pnkfelix pnkfelix commented Aug 7, 2015

Turn nonzeroing move hints back off by default.

Works around bugs injected by PR #26173.

  • (@pnkfelix is unavailable in the short-term (i.e. for the next week) to fix them.)
  • When the bugs are fixed, we will turn nonzeroing move hints back on by default.

Fix #27401

This is a temporary workaround for the bugs that have been found in
the implementation of PR rust-lang#26173.

 * pnkfelix is unavailable in the short-term (i.e. for the next week) to fix them.

 * When the bugs are fixed, we will turn this back on by default.

(If you want to play with the known-to-be-buggy optimization in the
meantime, you can opt-back in via the debugging option that this
commit is toggling.)
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@pnkfelix
Copy link
Member Author

pnkfelix commented Aug 7, 2015

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Aug 7, 2015

📌 Commit 6170435 has been approved by nikomatsakis

@bors
Copy link
Contributor

bors commented Aug 7, 2015

⌛ Testing commit 6170435 with merge e13c184...

@bors
Copy link
Contributor

bors commented Aug 7, 2015

💔 Test failed - auto-mac-64-opt

@pnkfelix
Copy link
Member Author

pnkfelix commented Aug 7, 2015

gah pretty!

I can understand pretty not likely the comment format I chose (I did some odd things to get //'s to line up), but looking at http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6007/steps/test/logs/stdio I simply don't understand what the pretty is doing here. (In particular, how is it deciding to move the comment in line 34 in both the actual and expected output, while line 31 is moved backward?)

I'm just going to mark this as ignore-pretty with a link to this PR so someone can at least see my comment here.

@pnkfelix
Copy link
Member Author

pnkfelix commented Aug 7, 2015

@bors r=nikomatsakis p=10 1a68b18

@bors
Copy link
Contributor

bors commented Aug 7, 2015

📌 Commit 1a68b18 has been approved by nikomatsakis

@bors
Copy link
Contributor

bors commented Aug 7, 2015

⌛ Testing commit 1a68b18 with merge 1b5d521...

bors added a commit that referenced this pull request Aug 7, 2015
…lt, r=nikomatsakis

Turn nonzeroing move hints back off by default.

Works around bugs injected by PR #26173.

 * (@pnkfelix is unavailable in the short-term (i.e. for the next week) to fix them.)

 * When the bugs are fixed, we will turn nonzeroing move hints back on by default.

Fix #27401
@bors bors merged commit 1a68b18 into rust-lang:master Aug 7, 2015
@pnkfelix
Copy link
Member Author

pnkfelix commented Aug 8, 2015

@nikomatsakis BTW this needs to be back ported to the beta channel. I can do it in 9 days but probably better to delegate to someone else this week if possible

@alexcrichton alexcrichton added beta-nominated Nominated for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 10, 2015
@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Aug 10, 2015
@nikomatsakis
Copy link
Contributor

Seems like a no-brainer to backport.

@brson brson mentioned this pull request Aug 10, 2015
@brson brson removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop flags on the stack not reinitialized in loops
6 participants