Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave ---
hppa: Remove typedef for bool type In C23, bool is now a keyword. So, doing a typedef for it is invalid. 2024-11-17 John David Anglin <dang...@gcc.gnu.org> libgcc/ChangeLog: PR target/117627 * config/pa/linux-atomic.c: Remove typedef for bool type. diff --git a/libgcc/config/pa/linux-atomic.c b/libgcc/config/pa/linux-atomic.c index 03ebccfc070..6191f83ed1c 100644 --- a/libgcc/config/pa/linux-atomic.c +++ b/libgcc/config/pa/linux-atomic.c @@ -264,8 +264,6 @@ OP_AND_FETCH_WORD (and, , &) OP_AND_FETCH_WORD (xor, , ^) OP_AND_FETCH_WORD (nand, ~, &) -typedef unsigned char bool; - #define COMPARE_AND_SWAP_2(TYPE, WIDTH, INDEX) \ TYPE HIDDEN \ __sync_val_compare_and_swap_##WIDTH (volatile void *ptr, TYPE oldval, \
signature.asc
Description: PGP signature