-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Incorrect reporting of asm labels in Nightly #128659
Copy link
Copy link
Open
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.D-imprecise-spansDiagnostics: spans don't point to exactly the erroneous codeDiagnostics: spans don't point to exactly the erroneous codeL-binary_asm_labelsLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyT-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.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.D-imprecise-spansDiagnostics: spans don't point to exactly the erroneous codeDiagnostics: spans don't point to exactly the erroneous codeL-binary_asm_labelsLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyT-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Updating from 1.80.x-nightly to 1.82.x-nightly introduced a new compiler error in one of my inline assembly blocks falsely reporting that an
int 0x13shouldn't include numerical labels.I tried this code:
Compiler output:
Meta
rustc --version --verbose:No backtrace was provided even when setting RUST_BACKTRACE=1