gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: bug in 2.6.6 with two-word cons patch sent to Rockwell


From: Camm Maguire
Subject: [Gcl-devel] Re: bug in 2.6.6 with two-word cons patch sent to Rockwell
Date: 29 Jun 2005 18:35:09 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings,, and thanks for your report!

Here is the patch you need:
Index: o/num_arith.c
===================================================================
RCS file: /cvsroot/gcl/gcl/o/num_arith.c,v
retrieving revision 1.18
diff -u -r1.18 num_arith.c
--- o/num_arith.c       14 Jun 2005 14:35:54 -0000      1.18
+++ o/num_arith.c       29 Jun 2005 22:30:47 -0000
@@ -78,7 +78,7 @@
       if (i==-1 || j<= (MOST_NEGATIVE_FIX/i))
        goto FIX;
     } else {
-      if (-i<= (MOST_POSITIVE_FIX/-j))
+      if (0<-i && 0<-j && -i<= (MOST_POSITIVE_FIX/-j))
        goto FIX;
     }
   }


This is committed as well to cvs head.

Unfortunately, I do not have the resources to maintain the 2.6.6twc
patch.  It was put together specifically to test the concept with
acl2.  Current development is on 2.7.0, and I do understand that there
may be many reasons you might not be able to use this until release.
We're hoping sometime close to  summer's end.

Do you find twc useful?  Any disadvantages for the generic lisp user
that you can see?

Take care,

"Eric W. Smith" <address@hidden> writes:

> Hi Camm,
> 
> I found a bug in a version of GCL that Dave Hardin built here at Rockwell
> Collins.  He's out of town right now, so I'm reporting the bug.  Hardin says
> it's the latest patch you sent him of version 2.6.6 with the two-word cons.
> (We can't use 2.7.0 due to other problems which he will report to you when he
> gets back in town).  Anyway, here's the bug:
> 
> ====
> GCL (GNU Common Lisp)  2.6.6 CLtL1    Jun 28 2005 03:38:02
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (READLINE 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.
> 
> >(* -2147483648 -2147483648)
> 
> 0
> 
> >
> ====
> 
> Do you have a more recent patch of 2.6.6 with the two-word cons feature that
> you could send us?
> 
> Thanks!
> -Eric Smith
> 
> 
> 
> 

-- 
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]