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
2024-05-09 10:58:01 +00:00
2024-04-17 00:18:45 +00:00
2024-08-02 00:18:55 +00:00
2024-07-12 00:17:52 +00:00
2024-08-03 00:18:55 +00:00
2024-07-08 00:17:01 +00:00
2024-04-16 00:18:06 +00:00
2024-07-03 00:19:01 +00:00
2024-01-03 12:19:35 +01:00
2024-07-19 00:18:20 +00:00
2024-07-31 00:19:44 +00:00
2024-03-17 00:17:21 +00:00
2024-07-26 00:17:23 +00:00
2024-04-03 00:17:29 +00:00
2024-07-02 00:17:36 +00:00
2024-06-15 00:16:29 +00:00
2024-07-26 00:17:23 +00:00
2024-05-30 00:16:44 +00:00
2024-04-29 11:39:58 -07:00
2024-08-02 00:18:55 +00:00
2024-08-02 00:18:55 +00:00
2024-07-17 00:18:32 +00:00
2024-06-01 00:17:20 +00:00
2024-04-03 00:17:29 +00:00
2024-06-01 00:17:20 +00:00
2024-02-17 00:17:08 +00:00
2024-05-09 10:58:01 +00:00
2024-06-01 00:17:20 +00:00
2024-01-03 12:19:35 +01:00
2024-07-20 00:17:53 +00:00
2023-10-23 00:16:43 +00:00
2023-11-14 00:47:11 +01:00
2024-08-01 00:19:03 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%