This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

eval.c


Hi!

in eval.c there is a cell 'undef_cell' defined:
  static scm_cell undef_cell = { SCM_UNDEFINED, SCM_UNDEFINED };

The problem is:  what happens, if this cell is not aligned on a 64-Bit
boundary?  The only access is:
  return SCM_CDRLOC (&undef_cell);


* Question:  Is it really necessary to have a _cell_ here?  It seems that
only the cdr is needed, and that it even doesn't matter if it really is a
valid cdr, i.e. at at valid cdr heap address.  If so, I suggest to simply
use a single SCM variable, and call that undef_object.


Best regards
Dirk Herrmann


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]