From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Compiling Elisp to a native code with a GCC plugin Date: Fri, 17 Sep 2010 16:40:44 +0200 Message-ID: References: <87bp805ecr.fsf@gmail.com> <87iq26z97e.fsf@uwakimon.sk.tsukuba.ac.jp> <87y6b0yi8o.fsf@uwakimon.sk.tsukuba.ac.jp> <87sk18bioh.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284734460 26768 80.91.229.12 (17 Sep 2010 14:41:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 14:41:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 16:40:59 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Owc7W-0007S8-K4 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 16:40:58 +0200 Original-Received: from localhost ([127.0.0.1]:45854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owc7V-0000c4-Mi for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 10:40:57 -0400 Original-Received: from [140.186.70.92] (port=46651 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owc7N-0000ba-O7 for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:40:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owc7K-0004KA-0y for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:40:49 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:42287) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owc7J-0004Jq-SP for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:40:45 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id D90611C158E3 for ; Fri, 17 Sep 2010 16:40:44 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-113-134.dynamic.mnet-online.de [88.217.113.134]) by mail.mnet-online.de (Postfix) with ESMTP id AD9D71C00199 for ; Fri, 17 Sep 2010 16:40:44 +0200 (CEST) X-Yow: Did you GAIN WEIGHT in th' past 5 MINUTES or am I just DREAMING of two BROCCOLI FLORETS lying in an empty GAS TANK? In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 17 Sep 2010 15:55:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130310 Archived-At: Lars Magne Ingebrigtsen writes: > Andreas Schwab writes: > >>> PT + SCHARS (string) can overflow here. Better check first rather than >>> later whether ZV - PT < SCHARS (string). >>> >>> Yes, I know that most-positive-fixnum <= MAX_INT/2 >> >> How do you "know" that? > > Don't the Lisp integers use a bit for the type tag? most-positive-fixnum is a variable defined in `data.c'. Its value is 2305843009213693951 Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."