From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: Compiling Elisp to a native code with a GCC plugin Date: Fri, 17 Sep 2010 15:31:24 +0100 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284734065 24976 80.91.229.12 (17 Sep 2010 14:34:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 14:34:25 +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:34:24 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 1Owc19-0003Qa-5x for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 16:34:23 +0200 Original-Received: from localhost ([127.0.0.1]:48537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owc17-0006DL-Nd for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 10:34:21 -0400 Original-Received: from [140.186.70.92] (port=55840 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owc0w-0006BK-TA for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:34:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwbyI-0002Pq-85 for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:31:30 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:43159) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwbyI-0002Pg-4f for emacs-devel@gnu.org; Fri, 17 Sep 2010 10:31:26 -0400 Original-Received: by qyk8 with SMTP id 8so1019894qyk.0 for ; Fri, 17 Sep 2010 07:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Lhn7a8PImbIhJZfBlq35s2oXVdPzaqHPBSXXxA/THhw=; b=pBQApJfkBXUhEr0pB3W1nMkjXOhrnZutkKteWk7pqzRiaF2eglFeIG0gEvom1a7a1F SVcoCjUjTnjYczJA0jgC0i4Gk4EXIVLlDI/WzydFF/0wSRpY1pCAd84mp6FJEEMD0hZx tGQSaImpu7Q7yIKWCzx4NexOzJBbVCR+coRXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DAUptFBCVwkeR8L7nNYkadbGz5wDqZ75cq/gW7E2QZRr3IJhBgFy7TYrx5gAMJwqQT CxdU/yxvdmK2RAz5zxg2fVWOPpwPG9NxbWlzCcRQ2p5SFd7DWPMJToRFaIDphrkWrb0o mBAWyH6R2qxqo1akxF9PNnvhJLd1+h+f84+Xw= Original-Received: by 10.229.235.65 with SMTP id kf1mr3714000qcb.42.1284733885600; Fri, 17 Sep 2010 07:31:25 -0700 (PDT) Original-Received: by 10.229.92.9 with HTTP; Fri, 17 Sep 2010 07:31:24 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:130309 Archived-At: On Fri, Sep 17, 2010 at 2:55 PM, Lars Magne Ingebrigtsen w= rote: > Andreas Schwab writes: > >>> PT + SCHARS (string) can overflow here. =A0Better check first rather th= an >>> later whether ZV - PT < SCHARS (string). >>> >>> Yes, I know that most-positive-fixnum <=3D MAX_INT/2 >> >> How do you "know" that? > > Don't the Lisp integers use a bit for the type tag? Precise GC requires to distinguish between pointers and integers. Sine the pointers are always aligned, the least significant bit can be used for tagging integer. However, i am not sure what is approach in Emacs, reading docs. Wojciech