aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2025-09-03 16:30:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2025-09-13 07:11:44 -0700
commit273f80374aeb7d746352a098b23d9bb85e908ea8 (patch)
tree8854a081b039c8403d4df8bbe7a352da4d30d312 /hurd
parent0fceed254559836b57ee05188deac649bc505d05 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
Fix RISC-V soft-float _FPU_SETCW for GCC 16 set-but-not-used warningsHEADmaster
The soft-float RISC-V definition of _FPU_SETCW results in a -Werror=unused-but-set-variable= build failure with GCC mainline (in math/setfpucw.c) because it does not use the dummy cw variable. Change it to (void) (cw) as on other architectures to avoid this build failure. Tested with build-many-glibcs.py (compilers) for riscv64-linux-gnu-rv64imac-lp64, which previously failed. Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions