Skip to content
Snippets Groups Projects
Commit 8f50a079 authored by John David Anglin's avatar John David Anglin
Browse files

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.
parent 701d8e7e
No related branches found
No related tags found
No related merge requests found
...@@ -264,8 +264,6 @@ OP_AND_FETCH_WORD (and, , &) ...@@ -264,8 +264,6 @@ OP_AND_FETCH_WORD (and, , &)
OP_AND_FETCH_WORD (xor, , ^) OP_AND_FETCH_WORD (xor, , ^)
OP_AND_FETCH_WORD (nand, ~, &) OP_AND_FETCH_WORD (nand, ~, &)
typedef unsigned char bool;
#define COMPARE_AND_SWAP_2(TYPE, WIDTH, INDEX) \ #define COMPARE_AND_SWAP_2(TYPE, WIDTH, INDEX) \
TYPE HIDDEN \ TYPE HIDDEN \
__sync_val_compare_and_swap_##WIDTH (volatile void *ptr, TYPE oldval, \ __sync_val_compare_and_swap_##WIDTH (volatile void *ptr, TYPE oldval, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment