-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Do not put noalias annotations by default #54639
Conversation
56358ca
to
24964b1
Compare
@bors r+ |
📌 Commit 24964b18b4b13100df04c46bb792b592a0dbf137 has been approved by |
src/librustc_codegen_llvm/type_of.rs
Outdated
// in conjunction with unwinding, but later versions didn’t seem to have | ||
// said issues. See issue #31681. | ||
// | ||
// Alas, later on we encountered a case where nomangle would generate wrong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nomangle -> noalias?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ew, that’s embarrassing.
24964b1
to
8a261a8
Compare
@bors r=eddyb |
📌 Commit 8a261a873fe00b9e7c197f5462a163be2562b0fc has been approved by |
@bors r- The codegen test
|
This will be re-enabled sooner or later depending on results of further investigation. Fixes rust-lang#54462
8a261a8
to
9c62193
Compare
@bors r=eddyb |
📌 Commit 9c62193 has been approved by |
Do not put noalias annotations by default This will be re-enabled sooner or later depending on results of further investigation. Fixes #54462 Beta backport is: #54640 r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
[beta] Do not put noalias annotations by default This will be re-enabled sooner or later depending on results of further investigation. This is a backport of #54639 r? @nikomatsakis
Beta backport for this has landed as well, so just marking as beta-accepted. |
We discussed this (for a perhaps surprisingly long time) at the T-compiler meeting. No one objects to the idea of backporting this PR to stable in terms of the benefit of this change and the risk involved. There was some debate about whether a point release is justifiable for this particular bug. Namely, it was suggested that point releases should be reserved for:
But there was enough debate about whether that is the policy to then lead us to say that we should resolve that question separately from the approval process for this PR. So, tagging as stable-accepted. |
1.29.2 stable point release This point release includes a backport of #54639 (a miscompilation) and the fix for #54206 (rls missing on windows-gnu). It also backports a release notes fix (#54150). The target date for the release is Thursday 11th. r? @Mark-Simulacrum cc @rust-lang/core @rust-lang/release
It has been fully disabled by default since rust-lang#54639.
…=rkruppe Update the documented default of -Z mutable-noalias It has been fully disabled by default since rust-lang#54639.
…=rkruppe Update the documented default of -Z mutable-noalias It has been fully disabled by default since rust-lang#54639.
This will be re-enabled sooner or later depending on results of further
investigation.
Fixes #54462
Beta backport is: #54640
r? @nikomatsakis