From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8794: cons_to_long fixes; making 64-bit EMACS_INT the default Date: Fri, 03 Jun 2011 12:54:23 -0300 Message-ID: References: <4DE89EB8.9020202@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307116582 5976 80.91.229.12 (3 Jun 2011 15:56:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2011 15:56:22 +0000 (UTC) Cc: 8794@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 03 17:56:18 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSWjR-00022e-LW for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jun 2011 17:56:17 +0200 Original-Received: from localhost ([::1]:44223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSWjR-00032f-1I for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jun 2011 11:56:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSWiG-0002jD-61 for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2011 11:55:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSWiE-0005u8-L1 for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2011 11:55:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSWiE-0005u4-BP for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2011 11:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QSWiD-0006O2-KC; Fri, 03 Jun 2011 11:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jun 2011 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8794-submit@debbugs.gnu.org id=B8794.130711647824519 (code B ref 8794); Fri, 03 Jun 2011 15:55:01 +0000 Original-Received: (at 8794) by debbugs.gnu.org; 3 Jun 2011 15:54:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSWhp-0006NQ-K7 for submit@debbugs.gnu.org; Fri, 03 Jun 2011 11:54:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSWhm-0006N9-TE for 8794@debbugs.gnu.org; Fri, 03 Jun 2011 11:54:35 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:50028 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QSWhf-0001LE-L2; Fri, 03 Jun 2011 11:54:27 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id AE937660DD; Fri, 3 Jun 2011 12:54:23 -0300 (ART) In-Reply-To: <4DE89EB8.9020202@cs.ucla.edu> (Paul Eggert's message of "Fri, 03 Jun 2011 01:43:36 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 03 Jun 2011 11:55:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46922 Archived-At: > I found several problems in the Emacs code that converts > large C integers to Emacs conses-of-integers and back again. > I wrote some code to fix them systematically, and found that > it was simpler and more reliable if I could assume that EMACS_INT > was 64-bit even on 32-bit hosts. So here's a patch to do all that. > I plan to test this a bit more before committing. So, there are 3 parts: - fix the cons<->int conversions. - add a 64bit-on-32bit compilation option. - make that option the default. Please split it into those three parts. I'd rather keep the "change the default" for later, after we've gotten some experience with it. Stefan