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

[const prop] Fix "alloc id without corresponding allocation" ICE #66677

Merged
merged 4 commits into from
Nov 27, 2019

Conversation

wesleywiser
Copy link
Member

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2019
@rust-highfive
Copy link
Collaborator

Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-23T20:52:06.4600144Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-23T20:52:07.2108499Z ##[command]git config gc.auto 0
2019-11-23T20:52:07.2113036Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-23T20:52:07.2114763Z ##[command]git config --get-all http.proxy
2019-11-23T20:52:07.2118784Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/66677/merge:refs/remotes/pull/66677/merge

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@oli-obk
Copy link
Contributor

oli-obk commented Nov 24, 2019

Do we have any tests actually exercising the creation of a new const alloc and const propping a pointer to it without triggering promotion? I haven't looked into it yet, but I now also worry about interior mutability behind references.

@wesleywiser
Copy link
Member Author

Do we have any tests actually exercising the creation of a new const alloc and const propping a pointer to it without triggering promotion?

I tried a couple different things and couldn't get that to happen. I think the blocker is this bit of code

this.ecx.try_read_immediate(value)

@oli-obk
Copy link
Contributor

oli-obk commented Nov 26, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Nov 26, 2019

📌 Commit 32e78ca has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2019
@bors
Copy link
Contributor

bors commented Nov 27, 2019

⌛ Testing commit 32e78ca with merge 876a72a...

bors added a commit that referenced this pull request Nov 27, 2019
…-obk

[const prop] Fix "alloc id without corresponding allocation" ICE

r? @oli-obk
@bors
Copy link
Contributor

bors commented Nov 27, 2019

☀️ Test successful - checks-azure
Approved by: oli-obk
Pushing 876a72a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 27, 2019
@bors bors merged commit 32e78ca into rust-lang:master Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

5 participants