comp.lang.c
[Top] [All Lists]

Re: Experiences using "register"

Subject: Re: Experiences using "register"
From: "Herbert Rosenau"
Date: Mon, 31 Mar 2008 19:22:59 +0000 UTC
Newsgroups: comp.lang.c

On Sat, 29 Mar 2008 17:44:21 UTC, Ioannis Vranos 
<ivranos@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> "register" is part of the language standard, if a compiler considers it
> unneeded, it is free to ignore it. Proper uses of "register" making the
> compiler to produce less-efficient code than not using it at all, is a
> compiler-defect.

Yes, but since C98/99 its free to the compiler simply ignoring 
'register'. That means it is the right to the compiler to replace the 
keyword register with white space.

-- 
Tschau/Bye
Herbert

Visit http://www.ecomstation.de the home of german eComStation
eComStation 1.2R Deutsch ist da!

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy