Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cranelift: Alias analysis panic with `compute_observed_stores`

Đang mở
#15,053 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@fitzgen đang làm issue này rồi.

Từ ngày 28/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Rust
Star
18.8k
Fork
1.9k
Merge trung bình
23 giờ 57 phút
Pull request đã merge (30 ngày)
392

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bytecodealliance/wasmtime

Tất cả issue của bytecodealliance/wasmtime

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.