[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] (random tester) Bug with compilation of MOD (and MIN?)
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] (random tester) Bug with compilation of MOD (and MIN?) |
Date: |
08 Oct 2003 19:11:31 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks as always, Paul. Fixed in cvs head and 2.6.1.
Keep them compiler bugs comin' -- these reports are very useful.
Take care,
"Paul F. Dietz" <address@hidden> writes:
> The random tester is running much longer on gcl now before
> finding a bug. This bug came up in a run of 50,000 tests.
> The forms have been minimized.
>
> ------
>
> ;;; gclbug5.lsp
>
> (print
> (funcall (compile nil '(lambda (b c)
> (declare (type (integer -63 741532) b))
> (declare (type (integer -10700947 0) c))
> (declare (optimize (safety 1)))
> (mod (min c b) (min -82 -163))))
> 14479 -2562931))
>
> ;;; ==> -2562931
>
> (print (funcall #'(lambda (b c)
> (mod (min c b) (min -82 -163)))
> 14479 -2562931))
>
> ;;; ==> -82
>
>
> ------
>
> Paul
>
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah