Comments (6)
Did you mean between 1.77 and 1.78? The two links look the same to me.
It looks like this has to be a regression in LLVM, which was bumped to version 18 in 1.78, because we seem to generate the exact same IR. Could you file an issue with LLVM?
https://godbolt.org/z/Te9efcnMz
Could it be that this is the same underlying issue? #126221
It looks like it, I will close that one because this one has more detail.
from rust.
I haven't looked into this too much yet, but do you know if it reproduces using C's inline assembly fed through clang? This seems like it could be an LLVM problem.
from rust.
It appears that this bug starts to appear in 1.77.
Using riscv32i-unknown-none-elf
target:
1.76: https://godbolt.org/z/bKosKqvfW
1.77: https://godbolt.org/z/MYacc9na7
from rust.
Could it be that this is the same underlying issue?
#126221
from rust.
WG-prioritization assigning priority (Zulip discussion).
Being an unsound issue, maybe let's see what we can do. Compile target is Tier 2.
@rustbot label -I-prioritize +P-high
from rust.
Fix applied to LLVM 19.x llvm/llvm-project#100843
from rust.
Related Issues (20)
- false positive `dead_code` "never constructed" warning on 1.80.0 for a `struct` where the constructor takes `&'static self` HOT 11
- rustc_contracts: differentiate between exhaustive and non-exhaustive contracts
- ICE: The Rust Compiler Panicked After I Removed A Windows SDK HOT 3
- rustc book does not document RUST_TARGET_PATH HOT 1
- Tracking Issue for `nonzero_bitwise`
- Linking with `rust-lld` causes SIGSEGV in FFI code HOT 7
- Effective breakage to `jiff` due to `ambiguous_negative_literals` HOT 3
- Tracking Issue for `float_semantics` RFC 3514 HOT 1
- Spurious CI failures on x86_64-msvc-ext: "failed to remove file `C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe`" HOT 1
- compiletest: add a `needs-subprocess` directive HOT 2
- Add back io::copy file to pipe optimization HOT 13
- The suggestion to remove generic parameters proposed by help did not remove comma HOT 5
- Unhelpful error message "Attempt to negate with overflow" when calling `i64::abs(i64::MIN)`.
- borrow diagnostic of dbg! leaks implementation HOT 1
- `#[diagnostic]` attribute name space is experimental HOT 2
- DefId(...) does not have a "params_in_repr" HOT 1
- `./x test <path_to_test>` does not work on msys2 HOT 1
- Rust version dev produced for vxworks build
- `const { ... }` blocks cannot be written outside of function HOT 1
- Hard-to-read ICEs when fluent translation uses non-existing variable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.