https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113578
Edwin Lu <ewlu at rivosinc dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ewlu at rivosinc dot com --- Comment #12 from Edwin Lu <ewlu at rivosinc dot com> --- (In reply to Jonathan Wakely from comment #11) > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659187.html Hi Jonathan our precommit ci is catching build issues coming from this patch when building with both glibc and newlib https://github.com/ewlu/gcc-precommit-ci/issues/1991 /data-disk-1/github/rise-gcc-ci-precommit-8/_work/gcc-precommit-ci/gcc-precommit-ci/riscv-gnu-toolchain/build/build-gcc-newlib-stage2/riscv64-unknown-elf/libstdc++-v3/include/ostream:488:58: error: '__builtin_bit_cast' source size '4' not equal to destination type size '2' 488 | __sign = static_cast<_To>(__builtin_bit_cast(short, __f)); | ^~~~~ /data-disk-1/github/rise-gcc-ci-precommit-8/_work/gcc-precommit-ci/gcc-precommit-ci/riscv-gnu-toolchain/build/build-gcc-newlib-stage2/riscv64-unknown-elf/libstdc++-v3/include/ostream:492:58: error: '__builtin_bit_cast' source size '4' not equal to destination type size '8' 492 | __sign = static_cast<_To>(__builtin_bit_cast(long long, __f)); | ^~~~ make[6]: *** [Makefile:658: complex_io.lo] Error 1