[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stop using P_, __P in header files

From: Dan Nicolaescu
Subject: Re: stop using P_, __P in header files
Date: Fri, 09 Jul 2010 18:19:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Juanma Barranquero <address@hidden>
>> Date: Mon, 5 Jul 2010 05:38:05 +0200
>> Cc: address@hidden, Ken Raeburn <address@hidden>, address@hidden
>> On Mon, Jul 5, 2010 at 05:05, Eli Zaretskii <address@hidden> 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:


And that's from the mid 90's.

AFAIK the register allocator in gcc does not try to look at "register".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]