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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/11 11:44
Read: times


 
#182553 - Very nice to learn this important matter
Responding to: ???'s previous message
Per Westermark said:

Your text indicates that you still are convinced that the compiler should do exactly the same thing in assembler just because you see the same thing in C.
......
......
......

The total set of rewrite rules used by the compiler is too vast, so even the compiler developer would need to look at trace output to find out the exact rules evaluated by the compiler, and what weight the rules got, and which priorities that was then used.


Really nice & helpful draft for all the beginners (including me) who assume that the compiler should work as they predict.
Thanks for such a nice and detailed draft.

Sandy

List of 17 messages in thread
TopicAuthorDate
Compiler variations??            01/01/70 00:00      
   Fundamental philosophy of High-Level Languges (HLL)            01/01/70 00:00      
      C code            01/01/70 00:00      
         and so what            01/01/70 00:00      
         Stop wondering about the compiler output            01/01/70 00:00      
            Very nice to learn this important matter            01/01/70 00:00      
         Exactly what you wrote            01/01/70 00:00      
            volatile sbit may be the problem            01/01/70 00:00      
               read up on (not) volatile            01/01/70 00:00      
               Look at my profile            01/01/70 00:00      
                  Not offence intended            01/01/70 00:00      
                     defining P0_6 so that compiler doesn't treat it as volatile            01/01/70 00:00      
                        Skip the goto - almost always exists beautiful rewrites            01/01/70 00:00      
                           Goto really is a bastard code construct            01/01/70 00:00      
                              and therefore ...            01/01/70 00:00      
                                 Will come back with modified code            01/01/70 00:00      
                           Wonderful as always!            01/01/70 00:00      

Back to Subject List