-
Notifications
You must be signed in to change notification settings - Fork 13.3k
f16
/f128
fallback code is not getting inlined
#125229
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
F-f16_and_f128
`#![feature(f16)]`, `#![feature(f128)]`
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Comments
@rustbot label +F-f16_and_f128 +T-libs -needs-triage |
56 tasks
f16
/`f128
fallback code is not getting inlinedf16
/f128
fallback code is not getting inlined
The fallback |
I did see that, just didn’t get a chance to test a fix for it yet. Care to put a patch up? (If not, I'll get to it at some point) |
PR at #125252. |
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 19, 2024
Rollup merge of rust-lang#125252 - beetrees:patch-1, r=joboet Add `#[inline]` to float `Debug` fallback used by `cfg(no_fp_fmt_parse)` Fixes rust-lang#125229.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
F-f16_and_f128
`#![feature(f16)]`, `#![feature(f128)]`
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
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)
The text was updated successfully, but these errors were encountered: