Re: [PATCH] Remove left-overs of WIDEST_HARDWARE_FP_SIZE
Jan-Benedict Glaw <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2026-07-06 10:44:06 +0200, Eric Botcazou <[email protected]> wrote: > This removes the single remaining use of WIDEST_HARDWARE_FP_SIZE in GCC, a > macro that had only been used by the Ada compiler and whose use has been > anectodal for a long time, and all the associated bits. > > Bootstrapped/regtested on x86-64/Linux, applied on the mainline. For sparc-linux, I get this: [all 2026-07-17 01:13:10] /bin/bash /home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/../move-if-change tmp-constants.h insn-constants.h [all 2026-07-17 01:13:10] echo timestamp > s-constants [all 2026-07-17 01:13:10] /home/jenkins/workspace/gcc-sparc-linux/local-toolchain-install/bin/g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/jenkins/workspace/gcc-sparc-linux/gcc/gcc -I/home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/build -I/home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/../include -I/home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/../libcpp/include \ [all 2026-07-17 01:13:10] -o build/genpreds.o /home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/genpreds.cc [all 2026-07-17 01:13:11] In file included from ./tm.h:36, [all 2026-07-17 01:13:11] from /home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/genpreds.cc:26: [all 2026-07-17 01:13:11] /home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/config/sparc/linux.h:118:9: error: 'SPARC_LONG_DOUBLE_TYPE_SIZE' redefined [-Werror] [all 2026-07-17 01:13:11] 118 | #define SPARC_LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_128 ? 128 : 64) [all 2026-07-17 01:13:11] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [all 2026-07-17 01:13:11] In file included from ./tm.h:29: [all 2026-07-17 01:13:11] /home/jenkins/workspace/gcc-sparc-linux/gcc/gcc/config/sparc/sparc.h:498:9: note: this is the location of the previous definition [all 2026-07-17 01:13:11] 498 | #define SPARC_LONG_DOUBLE_TYPE_SIZE 128 [all 2026-07-17 01:13:11] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [all 2026-07-17 01:13:16] cc1plus: all warnings being treated as errors [all 2026-07-17 01:13:16] make[1]: *** [Makefile:3283: build/genpreds.o] Error 1 [all 2026-07-17 01:13:16] make[1]: Leaving directory '/home/jenkins/workspace/gcc-sparc-linux/gcc-build-dir/gcc' [all 2026-07-17 01:13:16] make: *** [Makefile:4775: all-gcc] Error 2 (Sorry for taking so long to report it.) MfG, JBG --
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCanl54gAKCRAdvV51g5nh u9L+AJ9fdADLmD691TcZ3aAs6lC7jkWt/ACeJVKd50zNIvQM4YeDSrs6XD4btwI= =PSFD -----END PGP SIGNATURE-----