diff options
author | Lulu Cheng <chenglulu@loongson.cn> | 2025-04-07 10:00:27 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2025-04-07 17:01:53 +0800 |
commit | 1534f0099c98ea14c08a401302b05edf2231f411 (patch) | |
tree | 2077001716bedde6067146b7b32e611eb5484005 /libjava/javax/swing/Spring$3.h | |
parent | f085dbf97ed4445830127c955909ff2b887ded69 (diff) | |
download | gcc-1534f0099c98ea14c08a401302b05edf2231f411.zip gcc-1534f0099c98ea14c08a401302b05edf2231f411.tar.gz gcc-1534f0099c98ea14c08a401302b05edf2231f411.tar.bz2 |
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 <xry111@xry111.site>
Sigend-off-by: Jakub Jelinek <jakub@redhat.com>
Diffstat (limited to 'libjava/javax/swing/Spring$3.h')
0 files changed, 0 insertions, 0 deletions