diff options
author | Joseph Myers <josmyers@redhat.com> | 2025-09-03 16:30:11 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-09-13 07:11:44 -0700 |
commit | 273f80374aeb7d746352a098b23d9bb85e908ea8 (patch) | |
tree | 8854a081b039c8403d4df8bbe7a352da4d30d312 /hurd | |
parent | 0fceed254559836b57ee05188deac649bc505d05 (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
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