mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Fix compilation with C23
* libguile/jit.c (is_unreachable): Rename from "unreachable", which is apparently a new reserved word in C23.
This commit is contained in:
parent
83d6d6afd9
commit
c2e7d834c2
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2018-2021, 2023
|
||||
/* Copyright 2018-2021, 2023-2024
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Guile.
|
||||
|
@ -370,7 +370,7 @@ set_register_state (scm_jit_state *j, uint32_t state)
|
|||
}
|
||||
|
||||
static uint32_t
|
||||
unreachable (scm_jit_state *j)
|
||||
is_unreachable (scm_jit_state *j)
|
||||
{
|
||||
return j->register_state & UNREACHABLE;
|
||||
}
|
||||
|
@ -382,7 +382,7 @@ has_register_state (scm_jit_state *j, uint32_t state)
|
|||
}
|
||||
|
||||
#define ASSERT_HAS_REGISTER_STATE(state) \
|
||||
ASSERT (unreachable (j) || has_register_state (j, state));
|
||||
ASSERT (is_unreachable (j) || has_register_state (j, state));
|
||||
|
||||
static void
|
||||
record_gpr_clobber (scm_jit_state *j, jit_gpr_t r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue