emacs-devel
[Top][All Lists]
Advanced

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

Re: stop using P_, __P in header files


From: David Kastrup
Subject: Re: stop using P_, __P in header files
Date: Sat, 10 Jul 2010 10:45:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> 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.
> Surely most modern compilers do a better work on optimizing code on
> their own than relying on naive register declarations...

Naive or not, "register" is a guarantee that noone is going to take or
store the address of the named variable.  For compilers not building a
complete parse tree before code generation, that can be useful
information.

-- 
David Kastrup




reply via email to

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