logo       
Google Custom Search
    AddThis Social Bookmark Button

CVS: sbcl BUGS,1.148,1.149 TODO,1.38,1.39 version.lisp-expr,1.441,1.442: msg#00047

Subject: CVS: sbcl BUGS,1.148,1.149 TODO,1.38,1.39 version.lisp-expr,1.441,1.442
Update of /cvsroot/sbcl/sbcl
In directory usw-pr-cvs1:/tmp/cvs-serv18804

Modified Files:
        BUGS TODO version.lisp-expr 
Log Message:
0.7.4.24:
        Fix bug 177 (bogus type warnings from CALL-NEXT-METHOD) with
                a hack, wrapping the offending code in an opaque
                identity function.
        Add comments in INVOKE-EFFECTIVE-METHOD-FUNCTION 
                explaining CSR's insight that the ,@(WHEN ...)
                clauses are optimizing slot access (with slots
                encoded as FIXNUMs). Also remove DECLARE
                NOTINLINE GET-SLOTS-OR-NIL now that I understand
                what the code is doing.


Index: BUGS
===================================================================
RCS file: /cvsroot/sbcl/sbcl/BUGS,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- BUGS        9 Jun 2002 12:46:04 -0000       1.148
+++ BUGS        11 Jun 2002 13:50:22 -0000      1.149
@@ -1289,49 +1289,7 @@
     (make-instance 'c19)
 
 177:
-  reported by Stig E Sandoe 8 Jun 2002 on sbcl-devel:
-  ;;; I am a bit unsure about SBCL's warnings with some of my code.
-  ;;; ASDF seems to die on warnings and SBCL seems to generate one
-  ;;; out of nothing.  I've tried to turn it into an example
-  ;;; (that can be LOADed or COMPILEd to reproduce warnings):
-  (in-package :cl-user)
-  (defclass a ()  ())
-  (defclass b ()  ())
-  (defclass c (b) ())
-  (defgeneric get-price (obj1 obj2))
-  (defmethod get-price (obj1 obj2)
-    0)
-  (defmethod get-price ((obj1 a) (obj2 b))
-    20)
-  (defmethod get-price ((obj1 a) (obj2 c))
-    (* 3 (call-next-method)))
-  (print (get-price (make-instance 'a) (make-instance 'c)))
-  ;;; In the GET-PRICE where I call CALL-NEXT-METHOD, it starts to
-  ;;; generate real WARNINGS:
-  ;;; stig@palomba(9:02)[~] 690> sbcl
-  ;;; This is SBCL 0.7.4, an implementation of ANSI Common Lisp.
-  ;;; ...
-  ;;; * (load "call-next")
-  ;;; ; in: LAMBDA NIL
-  ;;; ;     (CALL-NEXT-METHOD)
-  ;;; ; --> SB-PCL::CALL-NEXT-METHOD-BODY IF IF 
-  ;;; ; --> SB-PCL::INVOKE-EFFECTIVE-METHOD-FUNCTION LOCALLY COND IF COND IF 
-  ;;; PROGN 
-  ;;; ; --> LET WHEN COND IF PROGN SETF LET* MULTIPLE-VALUE-BIND LET FUNCALL 
-  ;;; ; --> SB-C::%FUNCALL BLOCK SETF SB-KERNEL:%SVSET SB-KERNEL:%ASET LET* 
-  ;;; ; --> SB-KERNEL:HAIRY-DATA-VECTOR-SET MULTIPLE-VALUE-BIND 
-  ;;; MULTIPLE-VALUE-CALL 
-  ;;; ; --> FUNCTION 
-  ;;; ; ==>
-  ;;; ;   (SB-KERNEL:DATA-VECTOR-SET (TRULY-THE (SIMPLE-ARRAY T 1) ARRAY)
-  ;;; ;                              SB-INT:INDEX
-  ;;; ;                              SB-C::NEW-VALUE)
-  ;;; ; 
-  ;;; ; caught WARNING:
-  ;;; ;   Result is a A, not a NUMBER.
-  ;;; ...
-  ;;; ; compilation unit finished
-  ;;; ;   caught 4 WARNING conditions
+  (fixed in sbcl-0.7.4.24)
 
 
 DEFUNCT CATEGORIES OF BUGS

Index: TODO
===================================================================
RCS file: /cvsroot/sbcl/sbcl/TODO,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- TODO        14 Mar 2002 15:10:44 -0000      1.38
+++ TODO        11 Jun 2002 13:50:22 -0000      1.39
@@ -1,6 +1,8 @@
 for early 0.7.x:
 
-* building with CLISP (or explaining why not)
+* building using something other than SBCL/CMUCL, e.g. CLISP or OpenMCL,
+       as xc host; or at least hitting bugs (in them, not us:-) which
+       give us a good excuse not to:-|
 * urgent EVAL/EVAL-WHEN/%COMPILE/DEFUN/DEFSTRUCT cleanup:
        ** made inlining DEFUN inside MACROLET work again
        ** (also, while working on INLINE anyway, it might be easy

Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -d -r1.441 -r1.442
--- version.lisp-expr   9 Jun 2002 12:46:04 -0000       1.441
+++ version.lisp-expr   11 Jun 2002 13:50:23 -0000      1.442
@@ -18,4 +18,4 @@
 ;;; for internal versions, especially for internal versions off the
 ;;; main CVS branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
 
-"0.7.4.23"
+"0.7.4.24"


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>