diff options
author | Andy Wingo <wingo@pobox.com> | 2024-06-25 09:30:21 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2024-08-13 13:40:45 +0200 |
commit | c2e7d834c26dca39e0a2dc6784fc47814969817a (patch) | |
tree | 42c6455fb12b325c8e7425aa6badadd1df20ddfe | |
parent | 83d6d6afd9e4756b507d0ab71f2d48b1d53eaf54 (diff) | |
download | guile-c2e7d834c26dca39e0a2dc6784fc47814969817a.tar.gz |
Fix compilation with C23
* libguile/jit.c (is_unreachable): Rename from "unreachable", which is
apparently a new reserved word in C23.
-rw-r--r-- | libguile/jit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/jit.c b/libguile/jit.c index 6f3a650b8..a20a8e7f7 100644 --- a/libguile/jit.c +++ b/libguile/jit.c @@ -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) |