From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: [patch] combined build Date: Fri, 16 Nov 2007 14:11:48 +0300 Message-ID: <473D7AF4.60201@yandex.ru> References: <473C347B.6080907@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195212054 11364 80.91.229.12 (16 Nov 2007 11:20:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 11:20:54 +0000 (UTC) Cc: eliz@gnu.org, dann@ics.uci.edu, Stefan Monnier , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 12:20:59 2007 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.50) id 1IszFi-0002TZ-Uz for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 12:20:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IszFV-0006vr-Qz for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 06:20:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IszFT-0006vc-4g for emacs-devel@gnu.org; Fri, 16 Nov 2007 06:20:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IszFR-0006vL-Ej for emacs-devel@gnu.org; Fri, 16 Nov 2007 06:20:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IszFR-0006vI-8h for emacs-devel@gnu.org; Fri, 16 Nov 2007 06:20:33 -0500 Original-Received: from smtp4.yandex.ru ([213.180.223.136]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IszFH-0006TF-UT; Fri, 16 Nov 2007 06:20:24 -0500 Original-Received: from rtsoft2.corbina.net ([85.21.88.2]:21731 "EHLO localhost.localdomain" smtp-auth: "dmantipov" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S739459AbXKPLUB (ORCPT + 2 others); Fri, 16 Nov 2007 14:20:01 +0300 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: dmantipov User-Agent: Thunderbird 2.0.0.6 (X11/20070926) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:83333 Archived-At: Richard Stallman wrote: > We should add this if it provides substantial benefit, but otherwise > let's not. For now, size benefits are marginal - ~11k if compiled with -O2 and ~7k if compiled with -Os. It's not so easy to measure speed of interactive application, but the speed of byte-compilation looks exactly the same (up to the errors of measurement). The worst news is that I was unable to compile both with '-combine' and '-fwhole-program' - temacs just crashes silently with huge core, which probably means C stack overflow due to deep recursion. This applies to both 4.2.1 and 4.2.2 versions of GCC. I'm trying to understand why this happens, but still have no ideas. So, it looks like this technology doesn't give substantial benefits for today. But I believe it's features should be revised periodically, according to the state and progress of GCC development. Dmitry