From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#18995: Error: Could not reserve dynamic heap area. Date: Sun, 09 Nov 2014 17:30:21 +0100 Message-ID: <87vbmoqqua.fsf@igel.home> References: <834mu9r47v.fsf@gnu.org> <83y4rlpmsr.fsf@gnu.org> <83wq75plkm.fsf@gnu.org> <83vbmppj4a.fsf@gnu.org> <83r3xdpiex.fsf@gnu.org> <545E81BD.8070904@dancol.org> <83egtcpd3z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415550686 465 80.91.229.3 (9 Nov 2014 16:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 16:31:26 +0000 (UTC) Cc: haroogan@gmail.com To: 18995@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 09 17:31:19 2014 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 1XnVOW-000118-1e for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 17:31:16 +0100 Original-Received: from localhost ([::1]:39215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVOV-0004W9-LZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 11:31:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVON-0004Vw-MR for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:31:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnVOI-0008LQ-An for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:31:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVOI-0008LL-7g for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnVOH-0002cu-TC for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Nov 2014 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18995-submit@debbugs.gnu.org id=B18995.141555062810040 (code B ref 18995); Sun, 09 Nov 2014 16:31:01 +0000 Original-Received: (at 18995) by debbugs.gnu.org; 9 Nov 2014 16:30:28 +0000 Original-Received: from localhost ([127.0.0.1]:54938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVNj-0002bp-HJ for submit@debbugs.gnu.org; Sun, 09 Nov 2014 11:30:28 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:57430) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVNg-0002bg-BZ for 18995@debbugs.gnu.org; Sun, 09 Nov 2014 11:30:25 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jbLRM2cyyz3hjdY; Sun, 9 Nov 2014 17:30:23 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jbLRM18nBzvh1v; Sun, 9 Nov 2014 17:30:23 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 44dE9vndlKLY; Sun, 9 Nov 2014 17:30:21 +0100 (CET) X-Auth-Info: bKl7XV0eyMRfXg7Nnkxc/Q2UZSFZO08ba7WFI9AW2MJ+RTGkAo6wV9RYFy+IN2yZ Original-Received: from igel.home (ppp-93-104-154-215.dynamic.mnet-online.de [93.104.154.215]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 9 Nov 2014 17:30:21 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 8518C2C2637; Sun, 9 Nov 2014 17:30:21 +0100 (CET) X-Yow: I've got an IDEA!! Why don't I STARE at you so HARD, you forget your SOCIAL SECURITY NUMBER!! In-Reply-To: <83egtcpd3z.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Nov 2014 18:12:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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: 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:95772 Eli Zaretskii writes: > Given that, it is justified for GCC to give us what we deserve, i.e. a > loop "unrolled" by executing its body only once. I present the > disassembly below, for the curious, and it's clear that there's no > loop there, and also the value of 'size' is never tested at all, since > GCC decided that the condition 'size > 0x00100000' is always true. But if you replace 'size > 0x00100000' with true, you get a loop that is conditionalized by '!ptr', which depends on the execution of the loop body. Why would it be correct to execute the loop only once, unconditionally? 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."