From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: stop using P_, __P in header files Date: Fri, 09 Jul 2010 18:19:20 -0400 Message-ID: References: <4C2DB1E0.7010305@swipnet.se> <83aaqa9ml7.fsf@gnu.org> <9A690AC5-8C59-4691-88AC-EDDABCF2F704@raeburn.org> <83ocem8w6i.fsf@gnu.org> <83k4p996o0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278713973 20962 80.91.229.12 (9 Jul 2010 22:19:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2010 22:19:33 +0000 (UTC) Cc: Juanma Barranquero , raeburn@raeburn.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 10 00:19:28 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 1OXLup-0002Sf-Ty for ged-emacs-devel@m.gmane.org; Sat, 10 Jul 2010 00:19:28 +0200 Original-Received: from localhost ([127.0.0.1]:51983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXLuo-0001pa-MP for ged-emacs-devel@m.gmane.org; Fri, 09 Jul 2010 18:19:26 -0400 Original-Received: from [199.232.76.173] (port=44610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXLuk-0001pV-7C for emacs-devel@gnu.org; Fri, 09 Jul 2010 18:19:22 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OXLui-0001cp-Oh for emacs-devel@gnu.org; Fri, 09 Jul 2010 18:19:22 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53140) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OXLui-0001cl-Ht for emacs-devel@gnu.org; Fri, 09 Jul 2010 18:19:20 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OXLui-0006uJ-2l; Fri, 09 Jul 2010 18:19:20 -0400 In-Reply-To: <83k4p996o0.fsf@gnu.org> (Eli Zaretskii's message of "Mon\, 05 Jul 2010 20\:31\:43 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126967 Archived-At: Eli Zaretskii writes: >> 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. At -O0 you have bigger code quality problems (especially with gcc) than "register". A reference to comp.lang.C FAQ: http://c-faq.com/~scs/cclass/krnotes/sx7f.html And that's from the mid 90's. AFAIK the register allocator in gcc does not try to look at "register".