[Top][All Lists]

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

[bug #57741] Strange begin drop again ;

From: Anton Ertl
Subject: [bug #57741] Strange begin drop again ;
Date: Tue, 4 Feb 2020 11:38:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.5.0

Update of bug #57741 (project gforth):

                  Status:                    None => Confirmed              
             Assigned to:                    None => anton                  


Follow-up Comment #1:

The gforth engine (without stack caching; for gforth-fast NIP would have the
same effect as DROP for gforth) does not try to access the stack when
DROPping.  In the usual case the stack underflow is discovered in the first
word afterwards that accesses memory (e.g., because it actually does something
with the stack item, or because it tries to push something), which is usually
pretty soon.  Your example is one of the rare cases where this does not
happen.  We could fix this by adding a memory access in DROP (and some other
words), but I am not sure if this is worth the effort and the slowdown.


Reply to this item at:


  Message sent via Savannah

reply via email to

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