From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*, I give the debug informations under gdb in the attachments. Date: Thu, 08 Mar 2007 13:50:42 +0900 Organization: NEC Electronics Message-ID: References: <20070306063056.GA21948@debian-testing-hy.localdomain> <86zm6q5upr.fsf@lola.quinscape.zz> <17902.9556.720278.162036@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173329506 9907 80.91.229.12 (8 Mar 2007 04:51:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 04:51:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 08 05:51:40 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 1HPAbJ-0007Zt-81 for ged-emacs-devel@m.gmane.org; Thu, 08 Mar 2007 05:51:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPAbT-0003qq-8e for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 23:51:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPAbI-0003mv-MK for emacs-devel@gnu.org; Wed, 07 Mar 2007 23:51:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPAbH-0003m7-2m for emacs-devel@gnu.org; Wed, 07 Mar 2007 23:51:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPAbG-0003m4-Tm for emacs-devel@gnu.org; Wed, 07 Mar 2007 23:51:34 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HPAb6-0000Sf-0s for emacs-devel@gnu.org; Wed, 07 Mar 2007 23:51:24 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HPAav-0001AO-Rn for emacs-devel@gnu.org; Thu, 08 Mar 2007 05:51:13 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 05:51:13 +0100 Original-Received: from miles.bader by fencepost.gnu.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 05:51:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fencepost.gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Cancel-Lock: sha1:WzHjA/bPclx6a6ByrynjEKCDbIc= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:67559 Archived-At: Eli Zaretskii writes: > If you use GCC, you are forced to debug and test with -O0, and then > ship a program compiled with -O2 which you didn't debug and test. But that isn't true. It sometimes takes extra work to debug because of optimization, but it's not some kind of impossible burden. Where the best tradeoff lies is very much an individual thing. > I couldn't convince GCC developers that debuggability is much more > important in the vast majority of cases than the extra 5%-7% > performance gains one gets by using all the tweaks -O2 does that > defeat debugging. Sigh. Convince them to do what? They give you a bazillion knobs which you can use to tune the tradeoffs made to your liking. You can argue about the defaults, but -O2 _isn't the default_, and it's not even the default with -O. What would you have them change? -Miles -- "Whatever you do will be insignificant, but it is very important that you do it." Mahatma Gandhi