glibc/sysdeps
H.J. Lu d3e4f5a101 s_sincosf.h: Change pio4 type to float [BZ #28713]
s_cosf.c and s_sinf.c have

  if (abstop12 (y) < abstop12 (pio4))

where abstop12 takes a float argument, but pio4 is static const double.
pio4 is used only in calls to abstop12 and never in arithmetic.  Apply

-static const double pio4 = 0x1.921FB54442D18p-1;
+static const float pio4 = 0x1.921FB6p-1f;

to fix:

FAIL: math/test-float-cos
FAIL: math/test-float-sin
FAIL: math/test-float-sincos
FAIL: math/test-float32-cos
FAIL: math/test-float32-sin
FAIL: math/test-float32-sincos

when compiling with GCC 12.

Reviewed-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
2021-12-21 08:56:12 -08:00
..
aarch64 Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
alpha Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
arc Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
arm Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
csky Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
generic malloc: Add Huge Page support for mmap 2021-12-15 17:35:38 -03:00
gnu Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
hppa Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
htl htl: Reimplement GSCOPE 2021-09-16 01:04:17 +02:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
ia64 Cleanup encoding in comments 2021-12-13 10:01:45 +05:30
ieee754 s_sincosf.h: Change pio4 type to float [BZ #28713] 2021-12-21 08:56:12 -08:00
m68k Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
mach hurd: Do not set PIE_UNSUPPORTED 2021-12-14 08:38:05 +01:00
microblaze Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
mips Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
nios2 Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
nptl nptl: Add public rseq symbols and <sys/rseq.h> 2021-12-09 09:49:32 +01:00
posix posix: Remove spawni.c 2021-09-27 12:44:25 -03:00
powerpc powerpc: Use global register variable in <thread_pointer.h> 2021-12-15 16:06:25 +01:00
pthread nptl: Add one more barrier to nptl/tst-create1 2021-12-10 11:51:25 +01:00
riscv Remove ununsed tcb-offset 2021-12-17 17:47:29 -03:00
s390 Remove TLS_TCB_ALIGN and TLS_INIT_TCB_ALIGN 2021-12-09 23:47:49 +01:00
sh Remove TLS_TCB_ALIGN and TLS_INIT_TCB_ALIGN 2021-12-09 23:47:49 +01:00
sparc Replace --enable-static-pie with --disable-default-pie 2021-12-13 08:08:59 +05:30
unix Linux: Fix 32-bit vDSO for clock_gettime on powerpc32 2021-12-21 09:47:16 -03:00
wordsize-32 Disable symbol hack in libc_nonshared.a 2021-09-27 07:46:25 -07:00
wordsize-64 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
x86 elf: Fix tst-cpu-features-cpuinfo for KVM guests on some AMD systems [BZ #28704] 2021-12-17 20:20:15 +01:00
x86_64 Regenerate ulps on x86_64 with GCC 12 2021-12-20 15:25:00 -08:00