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:35:30 +0100 Message-ID: <87r3xcqqlp.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 1415551011 4965 80.91.229.3 (9 Nov 2014 16:36:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 16:36:51 +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:36:44 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 1XnVTn-00076P-6y for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 17:36:43 +0100 Original-Received: from localhost ([::1]:39223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVTm-00056k-QQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 11:36:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVTK-00053Z-Pq for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:36:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnVT8-0001Tb-Ov for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:36:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVT8-0001TS-I4 for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnVT8-0002ke-B4 for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 11:36:02 -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:36:02 +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.141555093810542 (code B ref 18995); Sun, 09 Nov 2014 16:36:02 +0000 Original-Received: (at 18995) by debbugs.gnu.org; 9 Nov 2014 16:35:38 +0000 Original-Received: from localhost ([127.0.0.1]:54948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVSh-0002ju-Ep for submit@debbugs.gnu.org; Sun, 09 Nov 2014 11:35:37 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:58105) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVSe-0002jl-Si for 18995@debbugs.gnu.org; Sun, 09 Nov 2014 11:35:33 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jbLYJ1sVBz3hjRJ; Sun, 9 Nov 2014 17:35:32 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jbLYH74qZzvh1t; Sun, 9 Nov 2014 17:35:31 +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 u8JYoVT801kj; Sun, 9 Nov 2014 17:35:31 +0100 (CET) X-Auth-Info: 2y94FQduUG0ru9UJap0ZLSF505rnfb7wTZXtT9/sm4qrsnOEDh6zWZ3+BM/X42wO 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:35:31 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id EB9582C2637; Sun, 9 Nov 2014 17:35:30 +0100 (CET) X-Yow: While my BRAINPAN is being refused service in BURGER KING, Jesuit priests are DATING CAREER DIPLOMATS!! 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:95774 Eli Zaretskii writes: > It looked like a GCC bug at first, but as I tried to modify the source > and look at the effect of that on the generated code, it finally > dawned on me: GCC's loop-unrolling code simply correctly calculated > that with the initial value of 0x68000000 and decrement of 0x00800000, > the value of 'size' in the loop will never be less than 0x00100000, > due to wraparound in the subtraction of unsigned values. Before wraping around, size will become zero, which is definitely less than 0x00100000. 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."