-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleF-explicit_tail_calls`#![feature(explicit_tail_calls)]``#![feature(explicit_tail_calls)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-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.
Description
Code
Placeholder, I am trying to make a minimal example that reproduces the bugA more messy example is here: https://github.com/InvalidPathException/wagmi/blob/tail/src/instance.rs
This code does not compile, at lines 315 or 1420, if you remove one of the #[inline(always)] it will compile.
Edit: No, must remove line 1420.
And this is not the entire problem, seems like we are having subtle ABI mismatches everywhere
60076: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %spec.select, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %28, i64 noundef %29, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !82182
60082:define internal void @_ZN5wagmi8instance6op_end17h1c3a38afc0fd5d58E(ptr dead_on_unwind noalias noundef writable writeonly sret([24 x i8]) align 8 captures(none) dereferenceable(24) %_0, ptr noalias readonly align 8 captures(none) %instance, i64 noundef %pc, ptr noalias noundef align 8 dereferenceable(24) %stack, ptr noalias noundef align 8 dereferenceable(24) %control, ptr noalias noundef align 8 dereferenceable(24) %func_bases, ptr noalias noundef align 8 dereferenceable(24) %ctrl_bases) unnamed_addr #18 personality ptr @rust_eh_personality !dbg !82183 {My (not very educated) guess is that, tail call means handling the control to the callee, and it requires there to be no more code in the caller, but in-lining also means putting callee into the caller, perhaps this should be caught somewhere, instead of leading to an LLVM error.
Meta
rustc 1.92.0-nightly (f46475914 2025-10-17)
binary: rustc
commit-hash: f46475914de626785090a05ae037578aaa119fc8
commit-date: 2025-10-17
host: aarch64-apple-darwin
release: 1.92.0-nightly
LLVM version: 21.1.3
Error output
Backtrace
RUST_BACKTRACE=1 cargo +nightly build
warning: `panic` setting is ignored for `bench` profile
Compiling serde v1.0.219
Compiling serde_json v1.0.143
Compiling wagmi v0.1.0 (/Users/mark/Desktop/github/wagmi)
rustc-LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
error: could not compile `wagmi` (lib)
Caused by:
process didn't exit successfully: `/Users/mark/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc --crate-name wagmi --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=104 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("wasm_debug"))' -C metadata=cb10e3ba1b898985 -C extra-filename=-2131c9eb7e076518 --out-dir /Users/mark/Desktop/github/wagmi/target/debug/deps -C incremental=/Users/mark/Desktop/github/wagmi/target/debug/incremental -L dependency=/Users/mark/Desktop/github/wagmi/target/debug/deps --extern clap=/Users/mark/Desktop/github/wagmi/target/debug/deps/libclap-666d1a1cd0f4cc56.rmeta --extern paste=/Users/mark/Desktop/github/wagmi/target/debug/deps/libpaste-2bcbe54994a4a269.dylib --extern serde=/Users/mark/Desktop/github/wagmi/target/debug/deps/libserde-dedc72f5d8c9bae9.rmeta --extern serde_json=/Users/mark/Desktop/github/wagmi/target/debug/deps/libserde_json-34bf5d48446ff428.rmeta -C target-cpu=native` (exit status: 101)
Inspect IR:
cargo +nightly rustc --lib -- --emit=llvm-ir -Csave-temps
rg -n "define .*dispatch|define .*op_end|musttail" target/debug/deps/*.ll
warning: `panic` setting is ignored for `bench` profile
Compiling wagmi v0.1.0 (/Users/mark/Desktop/github/wagmi)
rustc-LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
error: could not compile `wagmi` (lib)
Caused by:
process didn't exit successfully: `/Users/mark/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc --crate-name wagmi --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=110 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("wasm_debug"))' -C metadata=cb10e3ba1b898985 -C extra-filename=-6af3dee71c1e5379 --out-dir /Users/mark/Desktop/github/wagmi/target/debug/deps -C incremental=/Users/mark/Desktop/github/wagmi/target/debug/incremental -L dependency=/Users/mark/Desktop/github/wagmi/target/debug/deps --extern clap=/Users/mark/Desktop/github/wagmi/target/debug/deps/libclap-cf191cd05b25755d.rmeta --extern paste=/Users/mark/Desktop/github/wagmi/target/debug/deps/libpaste-a0ac70e445072a49.dylib --extern serde=/Users/mark/Desktop/github/wagmi/target/debug/deps/libserde-0dbbc4abf86d9a19.rmeta --extern serde_json=/Users/mark/Desktop/github/wagmi/target/debug/deps/libserde_json-6eb3feed6383e159.rmeta --emit=llvm-ir -Csave-temps -Ccodegen-units=1 -Cincremental=no -Clto=off -Copt-level=3 -Zmir-opt-level=4 -Csave-temps` (exit status: 101)
23433: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !32193
23640: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !32478
23847: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !32763
24138: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %15, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %23, i64 noundef %24, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !33158
24429: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %14, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %22, i64 noundef %23, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !33514
24636: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !33799
24775: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %5, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %13, i64 noundef %14, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !34024
24982: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !34309
25112: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !34511
25297: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !34753
25482: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !34995
25763: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %15, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %23, i64 noundef %24, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !35350
26044: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %14, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %22, i64 noundef %23, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !35691
26229: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !35933
26358: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %5, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %13, i64 noundef %14, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !36124
26543: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !36366
26734: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !36621
26922: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !36869
27056: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !37080
27190: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !37288
27322: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !37485
27513: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !37739
27706: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !37993
27897: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !38247
28085: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !38495
28274: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !38743
28460: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !38985
28590: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !39183
28720: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !39379
28849: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %5, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %13, i64 noundef %14, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !39563
29038: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !39811
29224: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !40050
29413: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !40298
29599: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !40540
30044: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %36, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %44, i64 noundef %45, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !41230
30215: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !41481
30702: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %29, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %37, i64 noundef %38, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !42412
30843: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !42647
30974: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !42852
31445: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %31, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %39, i64 noundef %40, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !43600
31576: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %6, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %14, i64 noundef %15, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !43801
31770: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !44061
31964: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !44318
32158: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !44575
32352: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !44832
32546: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !45089
32740: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !45346
33226: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %29, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %37, i64 noundef %38, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !46000
33420: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !46257
33614: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %9, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %17, i64 noundef %18, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !46514
33809: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %10, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %18, i64 noundef %19, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !46774
34004: musttail call void %handler.i(ptr noalias noundef nonnull readonly sret([24 x i8]) align 8 captures(address) dereferenceable(128) %10, ptr noalias noundef nonnull readonly align 8 captures(address, read_provenance) dereferenceable(128) %18, i64 noundef %19, ptr noalias noundef nonnull align 8 dereferenceable(24) %func_bases, ptr noalias noundef nonnull align 8 dereferenceable(24) %ctrl_bases, ptr noalias noundef align 8 dereferenceable(24) @_ZN5wagmi8instance8dispatch17h278853d1093abebfE), !dbg !47034
...
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleF-explicit_tail_calls`#![feature(explicit_tail_calls)]``#![feature(explicit_tail_calls)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-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.