glibc/sysdeps/ieee754/float128
Joseph Myers f66780ba46 Fix build with GCC 13 _FloatN, _FloatNx built-in functions
GCC 13 has added more _FloatN and _FloatNx versions of existing
<math.h> and <complex.h> built-in functions, for use in libstdc++-v3.

This breaks the glibc build because of how those functions are defined
as aliases to functions with the same ABI but different types.  Add
appropriate -fno-builtin-* options for compiling relevant files, as
already done for the case of long double functions aliasing double
ones and based on the list of files used there.

I fixed some mistakes in that list of double files that I noticed
while implementing this fix, but there may well be more such
(harmless) cases, in this list or the new one (files that don't
actually exist or don't define the named functions as aliases so don't
need the options).  I did try to exclude cases where glibc doesn't
define certain functions for _FloatN or _FloatNx types at all from the
new uses of -fno-builtin-* options.  As with the options for double
files (see the commit message for commit
49348beafe, "Fix build with GCC 10 when
long double = double."), it's deliberate that the options are used
even if GCC currently doesn't have a built-in version of a given
functions, so providing some level of future-proofing against more
such built-in functions being added in future.

Tested with build-many-glibcs.py for aarch64-linux-gnu
powerpc-linux-gnu powerpc64le-linux-gnu x86_64-linux-gnu (compilers
and glibcs builds) with GCC mainline.
2022-10-31 23:20:08 +00:00
..
e_acosf128.c
e_acoshf128.c
e_asinf128.c
e_atan2f128.c
e_atanhf128.c
e_coshf128.c
e_exp10f128.c
e_expf128.c
e_fmodf128.c
e_gammaf128_r.c
e_hypotf128.c
e_ilogbf128.c
e_j0f128.c
e_j1f128.c
e_jnf128.c
e_lgammaf128_r.c
e_log2f128.c
e_log10f128.c
e_logf128.c
e_powf128.c
e_rem_pio2f128.c
e_remainderf128.c
e_scalbf128.c
e_sinhf128.c
float128_private.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
float1282mpn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gamma_productf128.c
ieee754_float128.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_cosf128.c
k_sincosf128.c
k_sinf128.c
k_tanf128.c
lgamma_negf128.c
lgamma_productf128.c
Makeconfig Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
Makefile Fix build with GCC 13 _FloatN, _FloatNx built-in functions 2022-10-31 23:20:08 +00:00
math-nan-payload-float128.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mpn2float128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_asinhf128.c
s_atanf128.c
s_cbrtf128.c
s_ceilf128.c Use ceil functions not __ceil functions in glibc libm. 2018-09-17 20:42:06 +00:00
s_copysignf128.c Use copysign functions not __copysign functions in glibc libm. 2018-09-27 20:04:48 +00:00
s_cosf128.c
s_erff128.c
s_expm1f128.c
s_f32addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f32divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f32fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f32mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f32sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f32subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64xaddf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64xdivf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64xfmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64xmulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64xsqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64xsubf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_fabsf128.c
s_finitef128.c
s_floorf128.c Use floor functions not __floor functions in glibc libm. 2018-09-14 13:09:01 +00:00
s_fmaf128.c powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used 2021-09-23 19:29:54 -03:00
s_fpclassifyf128.c
s_frexpf128.c
s_fromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_fromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_getpayloadf128.c
s_isinff128.c
s_isnanf128.c Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
s_issignalingf128.c
s_llrintf128.c
s_llroundf128.c
s_log1pf128.c
s_logbf128.c
s_lrintf128.c
s_lroundf128.c
s_modff128.c
s_nearbyintf128.c
s_nextafterf128.c
s_nexttowardf128.c
s_nextupf128.c
s_remquof128.c
s_rintf128.c Use rint functions not __rint functions in glibc libm. 2018-09-14 13:10:39 +00:00
s_roundevenf128.c math: redirect roundeven function 2021-06-27 07:56:57 -07:00
s_roundf128.c Use round functions not __round functions in glibc libm. 2018-09-27 12:35:23 +00:00
s_scalblnf128.c
s_scalbnf128.c
s_setpayloadf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_setpayloadsigf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_signbitf128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_significandf128.c
s_sincosf128.c
s_sinf128.c
s_tanf128.c
s_tanhf128.c
s_totalorderf128.c
s_totalordermagf128.c
s_truncf128.c Use trunc functions not __trunc functions in glibc libm. 2018-09-20 21:11:10 +00:00
s_ufromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_ufromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
strfromf128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128_nan.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
t_sincosf128.c
Versions Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
w_scalbf128.c Add a generic scalb implementation 2020-02-14 08:24:56 -06:00
wcstof128_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wcstof128_nan.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wcstof128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x2y2m1f128.c