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 <danglin@gcc.gnu.org> libgcc/ChangeLog: PR target/117627 * config/pa/linux-atomic.c: Remove typedef for bool type.
This commit is contained in:
parent
701d8e7e60
commit
8f50a07940
1 changed files with 0 additions and 2 deletions
|
@ -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, \
|
||||
|
|
Loading…
Add table
Reference in a new issue