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

Do not put noalias annotations by default #54639

Merged
merged 1 commit into from
Sep 30, 2018

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Sep 28, 2018

This will be re-enabled sooner or later depending on results of further
investigation.

Fixes #54462

Beta backport is: #54640

r? @nikomatsakis

@nagisa nagisa 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. stable-nominated Nominated for backporting to the compiler in the stable channel. labels Sep 28, 2018
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 28, 2018
@eddyb
Copy link
Member

eddyb commented Sep 28, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Sep 28, 2018

📌 Commit 24964b18b4b13100df04c46bb792b592a0dbf137 has been approved by eddyb

@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 Sep 28, 2018
// 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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nomangle -> noalias?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ew, that’s embarrassing.

@nagisa
Copy link
Member Author

nagisa commented Sep 28, 2018

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Sep 28, 2018

📌 Commit 8a261a873fe00b9e7c197f5462a163be2562b0fc has been approved by eddyb

@kennytm
Copy link
Member

kennytm commented Sep 29, 2018

@bors r-

The codegen test codegen\function-arguments.rs failed on x86_64-pc-windows-msvc. Error log: #54660 (comment)

C:\projects\rust\src/test\codegen\function-arguments.rs:56:11: error: CHECK: expected string not found in input
// CHECK: @mutable_unsafe_borrow(i16* noalias dereferenceable(2) %arg0)
          ^
C:\projects\rust\build\x86_64-pc-windows-msvc\test\codegen\function-arguments\function-arguments.ll:272:59: note: scanning from here
define void @unsafe_borrow(i16* dereferenceable(2) %arg0) unnamed_addr #0 {
                                                          ^
C:\projects\rust\build\x86_64-pc-windows-msvc\test\codegen\function-arguments\function-arguments.ll:278:5: note: possible intended match here
define void @mutable_unsafe_borrow(i16* dereferenceable(2) %arg0) unnamed_addr #0 {
    ^

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 29, 2018
This will be re-enabled sooner or later depending on results of further
investigation.

Fixes rust-lang#54462
@nagisa
Copy link
Member Author

nagisa commented Sep 29, 2018

@bors r=eddyb

@bors
Copy link
Contributor

bors commented Sep 29, 2018

📌 Commit 9c62193 has been approved by eddyb

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 29, 2018
@bors
Copy link
Contributor

bors commented Sep 30, 2018

⌛ Testing commit 9c62193 with merge 8c1d5e5...

bors added a commit that referenced this pull request Sep 30, 2018
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
@bors
Copy link
Contributor

bors commented Sep 30, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 8c1d5e5 to master...

@bors bors merged commit 9c62193 into rust-lang:master Sep 30, 2018
bors added a commit that referenced this pull request Sep 30, 2018
[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
@nagisa
Copy link
Member Author

nagisa commented Oct 2, 2018

Beta backport for this has landed as well, so just marking as beta-accepted.

@nagisa nagisa added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Oct 2, 2018
@pnkfelix
Copy link
Member

pnkfelix commented Oct 4, 2018

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:

  • security fixes
  • accidental stabilizations
  • fixes to new (and "severe") regressions.

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.

@pnkfelix pnkfelix added the stable-accepted Accepted for backporting to the compiler in the stable channel. label Oct 4, 2018
bors added a commit that referenced this pull request Oct 5, 2018
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
@pietroalbini pietroalbini removed the stable-nominated Nominated for backporting to the compiler in the stable channel. label Oct 6, 2018
cuviper added a commit to cuviper/rust that referenced this pull request Oct 4, 2019
It has been fully disabled by default since rust-lang#54639.
tmandry added a commit to tmandry/rust that referenced this pull request Oct 5, 2019
…=rkruppe

Update the documented default of -Z mutable-noalias

It has been fully disabled by default since rust-lang#54639.
tmandry added a commit to tmandry/rust that referenced this pull request Oct 6, 2019
…=rkruppe

Update the documented default of -Z mutable-noalias

It has been fully disabled by default since rust-lang#54639.
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. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. stable-accepted Accepted for backporting to the compiler in the stable 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.

9 participants