Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/14/04 19:58
Read: times


 
#83102 - Optimisation Level 2
Responding to: ???'s previous message
Neil Kurzman said:
Variables local to a function are overlaid automaticly by the compiler

Erik Malund said:
That used to be true, now that only happens if you set the optimization to 2 or above.

C51 Optimisation Level 2 is "Data Overlaying."

Therefore, you must select Optimisation Level 2 or above to enable data overlaying.

List of 12 messages in thread
TopicAuthorDate
KeilC variables overlay between modules            01/01/70 00:00      
   Scope            01/01/70 00:00      
      used to be true            01/01/70 00:00      
         Optimisation Level 2            01/01/70 00:00      
      Local Scope Globals Never Overlay????            01/01/70 00:00      
         Global to a module            01/01/70 00:00      
            ie, static.            01/01/70 00:00      
      sub-block locals            01/01/70 00:00      
   Overlay            01/01/70 00:00      
      I tihnk that's wrong            01/01/70 00:00      
         that IS wrong            01/01/70 00:00      
            that IS worng            01/01/70 00:00      

Back to Subject List