[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:
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".
- Re: stop using P_, __P in header files, (continued)
- Re: stop using P_, __P in header files, Andreas Schwab, 2010/07/05
- Re: stop using P_, __P in header files, Ken Raeburn, 2010/07/04
- Re: stop using P_, __P in header files, Juanma Barranquero, 2010/07/04
- Re: stop using P_, __P in header files, Eli Zaretskii, 2010/07/04
- Re: stop using P_, __P in header files, Juanma Barranquero, 2010/07/04
- Re: stop using P_, __P in header files, Eli Zaretskii, 2010/07/05
- Re: stop using P_, __P in header files, Ken Raeburn, 2010/07/05
- Re: stop using P_, __P in header files, Juanma Barranquero, 2010/07/05
- Re: stop using P_, __P in header files, Eli Zaretskii, 2010/07/05
- Re: stop using P_, __P in header files, Dan Nicolaescu, 2010/07/05
- Re: stop using P_, __P in header files,
Dan Nicolaescu <=
- Re: stop using P_, __P in header files, David Kastrup, 2010/07/10
- Re: stop using P_, __P in header files, Juanma Barranquero, 2010/07/10
- Re: stop using P_, __P in header files, Ken Raeburn, 2010/07/04
- Re: stop using P_, __P in header files, Stephen J. Turnbull, 2010/07/06
- Re: stop using P_, __P in header files, Ken Raeburn, 2010/07/06
- Re: stop using P_, __P in header files, Stephen J. Turnbull, 2010/07/06
- Re: stop using P_, __P in header files, Dan Nicolaescu, 2010/07/05
- Re: stop using P_, __P in header files, Ken Raeburn, 2010/07/05
- Re: stop using P_, __P in header files, Dan Nicolaescu, 2010/07/05
Re: stop using P_, __P in header files, Andreas Schwab, 2010/07/02