Skip to content

LLVM 18 issue: tests/ui/asm/inline-syntax.rs#arm broken after LLVM https://github.com/llvm/llvm-project/commit/96aca7c51701f9b3c5dd8567fcddf29492008e6d #119120

Closed
@krasimirgg

Description

@krasimirgg

After llvm/llvm-project@96aca7c, rustc starts emitting duplicate diagnostics while running the tests/ui/asm/inline-syntax.rs#arm test:
https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/24569#018c7e16-58de-4bfd-a579-6b4a83bec58d/244-1054.

Looking at the commit description, the change adapts the behavior of emitting these diagnostics to be consistent across different linking modes, but doesn't prevent the possibility for duplicated diagnostics. Seems like a quick fix would be to add -Zdeduplicate-diagnostics to that test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions