gcc/libquadmath
Jakub Jelinek 3ac02e6750 libquadmath: Fix up libquadmath/math/sqrtq.c compilation in some powerpc* configurations [PR116007]
My PR114623 change started using soft-fp.h and quad.h for the sqrtq implementation.
Unfortunately, that seems to fail building in some powerpc* configurations, where
TFmode isn't available.
quad.h has:
 #ifndef TFtype
 typedef float TFtype __attribute__ ((mode (TF)));
 #endif
and uses TFtype.  quad.h has:
 /* Define the complex type corresponding to __float128
    ("_Complex __float128" is not allowed) */
 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
 typedef _Complex float __attribute__((mode(TC))) __complex128;
 #else
 typedef _Complex float __attribute__((mode(KC))) __complex128;
 #endif
with the conditional and KCmode use added during porting of libquadmath
to powerpc*, so I've just defined TFtype for powerpc when __LONG_DOUBLE_IEEE128__
isn't defined; I could define it to float __attribute__ ((mode (KF))) but it
seemed easier to just define it to __float128 which should do the same thing.

2024-08-03  Jakub Jelinek  <jakub@redhat.com>

	PR target/116007
	* math/sqrtq.c (TFtype): For PowerPC without __LONG_DOUBLE_IEEE128__
	define to __float128 before including soft-fp.h and quad.h.
2024-08-03 20:37:54 +02:00
..
math libquadmath: Fix up libquadmath/math/sqrtq.c compilation in some powerpc* configurations [PR116007] 2024-08-03 20:37:54 +02:00
printf libquadmath: Don't assume the storage for __float128 arguments is aligned [PR114533] 2024-04-03 10:13:40 +02:00
strtod
acinclude.m4
aclocal.m4
ChangeLog Daily bump. 2024-05-09 10:58:01 +00:00
config.h.in
configure libquadmath: Restore linking against -lm on most targets [PR112963] 2023-12-12 08:57:02 +01:00
configure.ac libquadmath: Restore linking against -lm on most targets [PR112963] 2023-12-12 08:57:02 +01:00
COPYING.LIB
libquadmath.texi Update copyright dates. 2024-01-03 11:44:34 +01:00
libtool-version
Makefile.am build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
Makefile.in build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
quadmath_weak.h
quadmath-imp.h
quadmath-rounding-mode.h
quadmath.h
quadmath.map
sfp-machine.h libquadmath: Provide __BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN definitions 2024-04-09 09:40:45 +02:00
update-quadmath.py