tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] "register" and "volatile"


From: Jerry
Subject: [Tinycc-devel] "register" and "volatile"
Date: Thu, 11 Dec 2008 16:35:45 +0800

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?

--
Best Regards
-----------
Jerry Luo

reply via email to

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