From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Fri, 13 Jul 2018 16:50:27 +0300 Message-ID: <83o9fbckik.fsf@gnu.org> References: <87o9fbbw1t.fsf@tromey.com> <87bmbbmslt.fsf@gmail.com> <877elzmpjk.fsf@gmail.com> <83va9jcpfk.fsf@gnu.org> <83sh4ncoye.fsf@gnu.org> <87601j5lx2.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531489747 21213 195.159.176.226 (13 Jul 2018 13:49:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 13:49:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 15:49:03 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdyRP-0005Ku-JB for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 15:48:59 +0200 Original-Received: from localhost ([::1]:37509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdyTW-0007SD-KS for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 09:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdySt-0007Rv-AM for emacs-devel@gnu.org; Fri, 13 Jul 2018 09:50:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdySo-0001Aa-8I for emacs-devel@gnu.org; Fri, 13 Jul 2018 09:50:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdySo-0001AW-4U; Fri, 13 Jul 2018 09:50:26 -0400 Original-Received: from [176.228.60.248] (port=2003 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fdySn-0002R1-H1; Fri, 13 Jul 2018 09:50:25 -0400 In-reply-to: <87601j5lx2.fsf@gmail.com> (message from Robert Pluim on Fri, 13 Jul 2018 15:02:01 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227337 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Fri, 13 Jul 2018 15:02:01 +0200 > > emacs -Q > (require 'pgg) > > ⇒ > > Debugger entered--Lisp error: (error "Error in CCL program") > register-ccl-program(pgg-parse-crc24 [1 30 14 114744 114775 0 161 131127 1 148217 15 82167 1 1848 131159 1 1595 5 256 114743 390 114775 19707 1467 16 7 183 1 4611686018427382276 4611686018427380740 22]) Thanks. I guess the operations in pgg-parse-crc24 give birth to these numbers, so ccl.c should be fixed to avoid that, for backward compatibility with existing CCL programs. (I'm guessing that ccl.c relies on integer wrap-around, and bignums violate that.)