-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Nightly stops to accept registers r8-15 on thumbv6m #99071
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
I tried this code: (with
--target thumbv6m-none-eabi)I expected to see this happen: Code compiles, resulting code should be something like:
https://godbolt.org/z/c4Y49qz7q
Instead, this happened: Compilation fails with error message:
https://godbolt.org/z/b6cnG4nM3
Version it worked on
It works on both 1.62.0 and 1.63.0-beta.4, and all other stable versions I tried since
asm!got stabilized.@Dirbaio did some bisecting and found: nightly-2021-12-09 works, nightly-2021-12-10 fails
Version with regression
I tried it with:
rustc --version --verbose:I don't have details about the versions @Dirbaio tried.