[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: 2.7.0 compiler bug ?
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: 2.7.0 compiler bug ? |
Date: |
13 Feb 2006 15:16:18 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! And thanks as always for the vital feedback!
I can't reproduce this, at least not now. Is this still an issue?
Take care,
Robert Boyer <address@hidden> writes:
> The following transcript may illustrate a GCL compiler bug that did not exist
> back in 2.6.7.
>
> If you remove the proclaim, the bug goes away! That is, this bug has
> something to do with ((safety 3) (speed 0)).
>
> Bob
>
> -------------------------------------------------------------------------------
>
> GCL (GNU Common Lisp) 2.7.0 ANSI Dec 21 2005 12:59:20
> Source License: LGPL(gcl,gmp,pargcl), 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.
>
> >(proclaim '(optimize (safety 3) (speed 0)))
>
> (defun eee ()
> (let ((length 2)
> (num 1))
> (declare (fixnum num))
> (do ((i (1- length) (1- i))) ((< i 0))
> (declare (fixnum i))
> (setq num (the fixnum (1+ num))))))
>
>
>
> NIL
>
> >
> EEE
>
> >(compile 'eee)
>
> ;; Compiling /tmp/gazonk_16289_0.lsp.
> ;; End of Pass 1.
> ;; End of Pass 2.
> ;; OPTIMIZE levels: Safety=3, Space=0, Speed=0, (Debug quality ignored)
> ;; Finished compiling /tmp/gazonk_16289_0.o.
> Loading /tmp/gazonk_16289_0.o
> start address -T 0xa09a868 Finished loading /tmp/gazonk_16289_0.o
> #<compiled-function EEE>
> NIL
> NIL
>
> >(eee)
> Segmentation violation: c stack ok:signalling error
> Error in EVAL [or a callee]: Caught fatal error [memory may be damaged]:
> Segmentation violation.
>
> Fast links are on: do (si::use-fast-links nil) for debugging
> Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER. Type :H for Help.
> 1 (Continue) Return to top level.
> dbl:>>:q
>
> Top level.
> >
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- [Gcl-devel] Re: 2.7.0 compiler bug ?,
Camm Maguire <=