gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: compiler no longer recognizes LIST type


From: Camm Maguire
Subject: [Gcl-devel] Re: compiler no longer recognizes LIST type
Date: 08 Jul 2005 19:07:59 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Before, the compiler saw it as T -- now we're passing and
proagating much more type information.  nested cons, list and symbol
types are going into t4 with the sequence function acceleration stuff.

Take care,

Robert Boyer <address@hidden> writes:

> Somewhere after 2.6.6, the following simple definition started getting a 
> compiler
> complaint:
> 
>   (defun foo (x) (declare (list x)) x)
> 
> Bob
> 
> -------------------------------------------------------------------------------
> 
> GCL (GNU Common Lisp)  2.7.0 CLtL1    Jul  8 2005 07:42:47
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (BFD UNEXEC)
> Modifications of this banner must retain notice of a compatible license
> Dedicated to the memory of W. Schelter
> 
> Use (help) to get some basic information on how to use GCL.
> 
> >(defun foo (x) (declare (list x)) x)
> 
> FOO
> 
> >(compile 'foo)
> 
> ;; Compiling ./gazonk1.lsp.
> Warning: The declaration specifier LIST is unknown.
> ;; End of Pass 1.  
> ;; End of Pass 2.  
> ;; OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3, 
> (Debug quality ignored)
> ;; Finished compiling ./gazonk1.o.
> Loading /v/filer2/boyer/sbcl/sbcl-0.9.2/gazonk1.o
> start address -T 0x6d8408 Finished loading 
> /v/filer2/boyer/sbcl/sbcl-0.9.2/gazonk1.o
> #<compiled-function FOO>
> NIL
> NIL
> 
> >
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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