>>>>> "Chisheng" == Chisheng Huang <[EMAIL PROTECTED]> writes:

    Chisheng> Hi,
    Chisheng> Save the following in file bug.lisp:

    Chisheng>   (declaim (optimize (safety 3) (debug 3) (speed 1)))
  
[code snipped]

    Chisheng> Compiling bug.lisp in cmucl-18e-x86-linux, cmucl-2003-04-13-x86-linux,
    Chisheng> or cmucl-2003-04-17-x86-linux will generate warning messages, which
    Chisheng> is O.K.

    Chisheng> Compiling bug.lisp in any x86-linux binary built on or after 2003-05-15
    Chisheng> will get the following error:

    Chisheng>   Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
    Chisheng>      NIL is not of type C::CONTINUATION
    Chisheng>      [Condition of type TYPE-ERROR]


I can reproduce this.  Unfortunately, I don't understand the compiler
to fix this.  Presumably, other recent fixes in the compiler exposes
this bug.

    Chisheng> The complete error message and backtrace are attached at the end of
    Chisheng> this message.

    Chisheng> If I comment out either (DECLAIM ...) or (DECLARE ...) or both, compiling
    Chisheng> bug.lisp will not throw me into the debugger.

    Chisheng> Could somebody show me how to get around this problem?

Change your declaim to something that works?  Do you really need max
safety and debug here?

Sorry, that's not a good answer, but I don't know what to say.

Ray


Reply via email to