f16/f128 fallback code is not getting inlined · Issue #125229 · rust-lang/rust (original) (raw)

From @ojeda, RUSTC_BOOTSTRAP=1 rustc --edition=2021 -Csymbol-mangling-version=v0 --cfg no_fp_fmt_parse --crate-type rlib library/core/src/lib.rs --sysroot=/dev/null ICEs at no symbol mangling. --cfg no_fp_fmt_parse is required for the repro.

The symbol mangling ICE was fixed in #123816 which is nominated for beta backport, but this seems to hint that something isn't marked #[inline] that should be. I suspect that adding the above --cfg would probably break cg_gcc and cg_clif.

From Miguel, this uses the most recent beta rustc 1.79.0-beta.4 (a26981974 2024-05-10)