emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 5684b34: * Fix build for --enable-check-lisp-object-


From: Andrea Corallo
Subject: feature/native-comp 5684b34: * Fix build for --enable-check-lisp-object-type=yes (bug#41703)
Date: Thu, 4 Jun 2020 06:11:12 -0400 (EDT)

branch: feature/native-comp
commit 5684b3420d73715836c5111ef1f6ec9e4e257e8f
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Fix build for --enable-check-lisp-object-type=yes (bug#41703)
    
        * src/comp.c (emit_coerce): Add missing declaration.
---
 src/comp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/comp.c b/src/comp.c
index 8e7582b..45904a3 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -984,6 +984,7 @@ emit_coerce (gcc_jit_type *new_type, gcc_jit_rvalue *obj)
       gcc_jit_rvalue *lwordobj =
         emit_coerce (comp.lisp_word_type, obj);
 
+      static ptrdiff_t i;
       gcc_jit_lvalue *tmp_s =
        gcc_jit_function_new_local (comp.func, NULL, comp.lisp_obj_type,
                                    format_string ("lisp_obj_%td", i++));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]