Thanks. :)
2008/12/11 KHMan <[EMAIL PROTECTED]>

> Jerry wrote:
>
>> Hi All,
>> As far as I know, a variable with "register" storage class will probably
>> be optimized to be
>> having no RAM storage but only staying in a CPU register. A "volatile"
>> variable will only be read by RAM access. But what about a variable declared
>> as volatile with register storage class?
>>
>
> "register" is advisory, it is up to the compiler to ultimately decide what
> to choose. "volatile" is mandatory, otherwise your program will break or
> work funny. You probably should read Derek Jones' The New C Standard (
> http://www.knosof.co.uk/cbook/cbook.html)
>
> --
> Cheers,
> Kein-Hong Man (esq.)
> Kuala Lumpur, Malaysia
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>



-- 
Best Regards
-----------
Jerry Luo
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to