[PATCH 0/8] Improve test when building with clang

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Dec 17 17:51:46 GMT 2025


The math change fixes most regressions when building with clang. On
x86_64, there are only three regressions (math/test-ldouble-scalb,
math/test-tgmath, and math/test-tgmath2), while on aarch64, there are
two (math/test-tgmath and math/test-tgmath2).

Adhemerval Zanella (8):
  math: Do not use __builtin_isgreater* and __builtin_isless* on clang
  x86: Do not use __builtin_fpclassify for _Float64x/long double
  x86: Do not use __builtin_isinf_sign for _Float64x/long double
  stdio: Fix tst-vfprintf-user-type on clang
  math: Fix potential underflow on ldbl-128 erfl
  x86_64: Fix mark-plt configure test
  stdlib: Avoid strlen plt with clang
  math: Use math_opt_barrier on underflow/overflow

 bits/fp-builtin-denormal.h             | 32 +++++++++
 math/Makefile                          |  1 +
 math/math.h                            | 96 ++++++++++++++++++++++++--
 stdio-common/tst-vfprintf-user-type.c  |  1 -
 sysdeps/generic/symbol-hacks.h         |  1 +
 sysdeps/ieee754/ldbl-128/e_powl.c      |  6 +-
 sysdeps/ieee754/ldbl-128/s_erfl.c      |  2 +-
 sysdeps/x86/bits/fp-builtin-denormal.h | 29 ++++++++
 sysdeps/x86_64/configure               |  4 +-
 sysdeps/x86_64/configure.ac            |  2 +-
 10 files changed, 163 insertions(+), 11 deletions(-)
 create mode 100644 bits/fp-builtin-denormal.h
 create mode 100644 sysdeps/x86/bits/fp-builtin-denormal.h

-- 
2.43.0



More information about the Libc-alpha mailing list