Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cranelift: Alias analysis panic with `compute_observed_stores`

Aperta
#15,053 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@fitzgen ci sta già lavorando.

Dal 28/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug cranelift

This input:

test optimize
set opt_level=speed
target x86_64

function %f(i64) {
    region0 = 1 "heap"
    fn0 = %g()

block0(v0: i64):
    atomic_store region0 v0, v0
    atomic_store notrap region0 v0, v0
    store notrap region0 v0, v0
    call fn0()
    return
}

yields:

$ cargo run -p cranelift-tools test foo.clif
   Compiling cranelift-tools v0.0.0 (/home/alex/code/wasmtime/cranelift)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s
     Running `target/debug/clif-util test foo.clif`

thread 'worker #3' (3528945) panicked at cranelift/codegen/src/alias_analysis.rs:1622:17:
`compute_observed_stores` should have already found all observed stores, but processing inst2 found that inst0 is observed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2026-10-28T21:24:52Z ERROR cranelift_filetests::concurrent] FAIL: panicked in worker #3: `compute_observed_stores` should have already found all observed stores, but processing inst2 found that inst0 is observed
FAIL foo.clif: panicked in worker #3: `compute_observed_stores` should have already found all observed stores, but processing inst2 found that inst0 is observed
1 tests
Error: 1 failure

cc @fitzgen

Lingua principale
Rust
Stelle
18.8k
Fork
1.9k
Merge medio
23h 57m
PR unite (30g)
392

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bytecodealliance/wasmtime

Tutte le issue di bytecodealliance/wasmtime

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.