[net.lang.lisp] problem w/ declare localf in Frantz on SUNs

michaelm@bcsaic.UUCP (michael b maxwell) (09/13/85)

We have a Frantz LISP program which is entirely contained in a single
file.  I decided to experiment with various things to speed it up, one
of which was using (declare (localf func1 func2...)), where all the func's 
are listed except the one I call at the top level.  The program bombs
with the error message "Illegal instruction (core dumped)" on the SUN.
I have a rough idea of where the failure occurs; it seems to have to do
with either/both the fact that we're using defstruct (it fails when a 
certain function tries to access a record in the structure) and the fact 
that we have several "special" variables.  Short of trying to figure out 
something from the coredump, I'm at a loss.  
Furthermore, the same program runs happily on our VAX (which is running 
Ultrix), although it doesn't give the promised speed-up (we have
translink set to on; are localf and translink somehow doing the same
thing?).  Since the SUN is running BSD 4.2, this seems strange...
Any ideas?  Has anyone else had this problem?
-- 
Mike Maxwell
	Any wrong opinions expressed in the above are someone else's fault.