From c2e7d834c26dca39e0a2dc6784fc47814969817a Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 25 Jun 2024 09:30:21 +0200 Subject: [PATCH] Fix compilation with C23 * libguile/jit.c (is_unreachable): Rename from "unreachable", which is apparently a new reserved word in C23. --- libguile/jit.c | 6 +++--- 1 file 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)