https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408
--- Comment #28 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by LuluCheng <chengl...@gcc.gnu.org>: https://gcc.gnu.org/g:1534f0099c98ea14c08a401302b05edf2231f411 commit r15-9245-g1534f0099c98ea14c08a401302b05edf2231f411 Author: Lulu Cheng <chengl...@loongson.cn> Date: Mon Apr 7 10:00:27 2025 +0800 LoongArch: Add LoongArch architecture detection to __float128 support in libgfortran and libquadmath [PR119408]. In GCC14, LoongArch added __float128 as an alias for _Float128. In commit r15-8962, support for q/Q suffixes for 128-bit floating point numbers. This will cause the compiler to automatically link libquadmath when compiling Fortran programs. But on LoongArch `long double` is IEEE quad, so there is no need to implement libquadmath. This causes link failure. PR target/119408 libgfortran/ChangeLog: * acinclude.m4: When checking for __float128 support, determine whether the current architecture is LoongArch. If so, return false. * configure: Regenerate. libquadmath/ChangeLog: * configure.ac: When checking for __float128 support, determine whether the current architecture is LoongArch. If so, return false. * configure: Regenerate. Sigend-off-by: Xi Ruoyao <xry...@xry111.site> Sigend-off-by: Jakub Jelinek <ja...@redhat.com>