From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: stop using P_, __P in header files Date: Mon, 05 Jul 2010 20:31:43 +0300 Message-ID: <83k4p996o0.fsf@gnu.org> References: <4C2DB1E0.7010305@swipnet.se> <83aaqa9ml7.fsf@gnu.org> <9A690AC5-8C59-4691-88AC-EDDABCF2F704@raeburn.org> <83ocem8w6i.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1278351321 27055 80.91.229.12 (5 Jul 2010 17:35:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 17:35:21 +0000 (UTC) Cc: raeburn@raeburn.org, emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 05 19:35:19 2010 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.69) (envelope-from ) id 1OVpZe-0000V9-SG for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 19:35:19 +0200 Original-Received: from localhost ([127.0.0.1]:41668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVpZd-0005HZ-4g for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 13:35:17 -0400 Original-Received: from [140.186.70.92] (port=41694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVpYC-0004hl-Hx for emacs-devel@gnu.org; Mon, 05 Jul 2010 13:33:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVpYA-0005B8-Ch for emacs-devel@gnu.org; Mon, 05 Jul 2010 13:33:48 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59821) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpYA-0005B0-4J for emacs-devel@gnu.org; Mon, 05 Jul 2010 13:33:46 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L5300500I217A00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 05 Jul 2010 20:33:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.253.155]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5300M91I48MAF0@a-mtaout20.012.net.il>; Mon, 05 Jul 2010 20:33:45 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:126790 Archived-At: > From: Juanma Barranquero > Date: Mon, 5 Jul 2010 05:38:05 +0200 > Cc: dann@gnu.org, Ken Raeburn , emacs-devel@gnu.org > > On Mon, Jul 5, 2010 at 05:05, Eli Zaretskii wrote: > > > Emacs is compiled not only by GCC. > > True, but "register" never was more than a hint to the compiler. I'm not an expert, so I don't know. Maybe someone else could chime in. One issue that I'd be interested in is to know whether GCC uses this hint at some low optimization level, because I frequently need to use -O1 or -O0 to get a binary I can debug without getting older by the hour. > Surely most modern compilers do a better work on optimizing code on > their own than relying on naive register declarations... FWIW, the ones I put in some code I wrote long ago were not naive at all. And I don't think those we have in Emacs are naive, either. But if these hints are not used, it doesn't really matter.