Hi,<br><br>I have a source file that the CCL 1.6 compiler chokes on; I
didn't have this problem in 1.5. The symptom is that ENCODE-FILE-RANGE
tries to subtract NIL from NIL. Here's the relevant part of the
backtrace:<br>
<br> (7F52FCFAE688) : 0 (--2 NIL NIL) 5285<br> (7F52FCFAE6C0) : 1 (ENCODE-FILE-RANGE NIL NIL) 69<br> (7F52FCFAE6E0) : 2 (MAKE-SOURCE-NOTE :FILENAME "/Decidable/gyro/dev/refine/<div id=":pu">sys/indep/slot-oc-impl.llisp" :START-POS NIL :END-POS NIL :SOURCE NIL) 109<br>
(7F52FCFAE758) : 3 (FCOMP-SIGNAL-OR-DEFER-WARNINGS (#<CCL::UNDEFINED-FUNCTION-REFERENCE #x302000AE6EED> #<CCL::UNDEFINED-FUNCTION-REFERENCE #x302000AE6A4D> #<CCL::UNDEFINED-FUNCTION-REFERENCE #x302000AE67DD> #<CCL:COMPILER-WARNING #x302000AE64ED> #<CCL::UNDEFINED-FUNCTION-REFERENCE #x302000AE637D> ...) #<CCL::LEXICAL-ENVIRONMENT #x302000AF0C7D>) 325<br>
(7F52FCFAE7C0) : 4 (FCOMP-NAMED-FUNCTION (LAMBDA NIL (PROGN # # # #
...)) NIL #<CCL::LEXICAL-ENVIRONMENT #x3020009E7E9D> NIL) 581<br> (7F52FCFAE830) : 5 (FCOMP-COMPILE-TOPLEVEL-FORMS #<CCL::LEXICAL-ENVIRONMENT #x3020009E7E9D>) 693<br>
(7F52FCFAE8D0) : 6 (FCOMP-READ-LOOP "/Decidable/gyro/dev/refine/sys/indep/slot-oc-impl.llisp" "/Decidable/gyro/dev/refine/sys/indep/slot-oc-impl.llisp" 0 #<CCL::LEXICAL-ENVIRONMENT #x3020009E7E9D> :NOT-COMPILE-TIME) 3173<br>
<br>I think the problem is basically that the last call to
FCOMP-COMPILE-TOPLEVEL-FORMS in FCOMP-READ-LOOP is outside the binding
of *FCOMP-PREVIOUS-POSITION*. I don't see that any of the routines
involved in the backtrace have changed recently. I guess there's some
other reason why that last call to FCOMP-COMPILE-TOPLEVEL-FORMS still
has work to do now which it didn't before.<br>
<br>The source file in question is generated, not hand-written (which
is why its name looks a little odd). That probably has something to do
with it, but I'm not sure what.<br><font color="#888888"><br>-- Scott<br><br></font></div>