guile-devel
[Top][All Lists]
Advanced

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

re: Guile 1.8 and 86_64 gcc 4


From: Bill Schottstaedt
Subject: re: Guile 1.8 and 86_64 gcc 4
Date: Fri, 14 Apr 2006 11:18:19 -0700

Actually the only cases that need the check are SCM_CELL_OBJECT_1 and
SCM_SET_CELL_OBJECT_0.  But perhaps there's some way to embed that
asm business (in gc.h) into the SCM_VALIDATE_CELL macro.
I haven't used "asm" before, but here's a suggestion that seems to work:

  #define SCM_VALIDATE_CELL(cell, expr) ({ __asm__ __volatile__ ("" : : "g" 
(cell)); expr; })






reply via email to

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