From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#21999: 25.0.50; Binary with --enable-checking immediately aborts with '0<=size' Date: Tue, 24 Nov 2015 23:52:57 -0800 Organization: UCLA Computer Science Department Message-ID: <565568D9.2010005@cs.ucla.edu> References: <87oaekh4s5.fsf@isaac.fritz.box> <83poz0zcsi.fsf@gnu.org> <87poyzzpph.fsf@secretsauce.net> <83bnajz88k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448438078 25935 80.91.229.3 (25 Nov 2015 07:54:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2015 07:54:38 +0000 (UTC) Cc: 21999@debbugs.gnu.org, deng@randomsample.de To: Eli Zaretskii , Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 08:54:22 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1Uu7-0003HS-T9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2015 08:54:16 +0100 Original-Received: from localhost ([::1]:43717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Uu9-0007Wq-CS for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2015 02:54:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Uu2-0007S3-03 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 02:54:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Utu-0002dT-Hb for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 02:54:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Utu-0002dM-Bz for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 02:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1Utt-00029p-Us for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 02:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2015 07:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21999-submit@debbugs.gnu.org id=B21999.14484379998236 (code B ref 21999); Wed, 25 Nov 2015 07:54:01 +0000 Original-Received: (at 21999) by debbugs.gnu.org; 25 Nov 2015 07:53:19 +0000 Original-Received: from localhost ([127.0.0.1]:52011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1UtD-00028l-H6 for submit@debbugs.gnu.org; Wed, 25 Nov 2015 02:53:19 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:58701) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Ust-000282-76 for 21999@debbugs.gnu.org; Wed, 25 Nov 2015 02:53:18 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 28BAB1606CC; Tue, 24 Nov 2015 23:52:58 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0E8tPS0R3-pF; Tue, 24 Nov 2015 23:52:57 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7A92F160707; Tue, 24 Nov 2015 23:52:57 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e3Os0VSD7zzT; Tue, 24 Nov 2015 23:52:57 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 54D871606CC; Tue, 24 Nov 2015 23:52:57 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <83bnajz88k.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:109220 Archived-At: Eli Zaretskii wrote: > After all, the size field of the pseudo-vector object is not > really a size, but a bunch of bitfields, so I'm not sure testing it in > its entirety makes sense. Paul? The point of the eassume is that it improves code quality in the common case where the size field is actually a size, since the compiler can generate better code when it knows that sizes are nonnegative. Also, it should improve checking a bit, in case someone trashes a size field. Looks like this is more trouble than it's worth, and we should get rid of that eassume, at least in emacs-25. Or have you fixed it?