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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/04 08:41
Read: times


 
#76484 - RE: return address
Responding to: ???'s previous message
Oleg Sergeev said:
As well, due hard optimization it may be that compiler groups some common used parts into separate subroutines.

This is extremely likely - as Graham has already mentioned; look up "common tail merging" etc in the Manual.

Oleg Sergeev said:
What do you need with this trick for?

Playing tricks on a 'C' compiler is a very bad idea indeed!!
The compiler knows what it's doing when it generates its code - if you mess with it, you are highly likely to break something, and give yourself some very bizarre & obscure bugs that will be extremely difficult to debug.
I'm afraid the fact that you need to ask the question does rather suggest that you are not sufficiently familiar with the internal workings of the compiler to safely do this sort of thing - let alone debug the problems when it goes wrong!

If you really do need to do this, do it in assembler - where you have complete control, and a free rein to do whatever you like.

List of 20 messages in thread
TopicAuthorDate
return address            01/01/70 00:00      
   RE: return address            01/01/70 00:00      
      RE: return address            01/01/70 00:00      
         RE: return address            01/01/70 00:00      
         RE: return address            01/01/70 00:00      
            How many times...?            01/01/70 00:00      
               RE: How many times...?            01/01/70 00:00      
               RE: How many times...?            01/01/70 00:00      
            RE: return address            01/01/70 00:00      
            RE: return address            01/01/70 00:00      
               RE: return address            01/01/70 00:00      
                  RE: return address            01/01/70 00:00      
                     RE: return address            01/01/70 00:00      
                        RE: return address            01/01/70 00:00      
                           RE: return address            01/01/70 00:00      
                        RE: return address            01/01/70 00:00      
                     RE: return address            01/01/70 00:00      
   RE: return address            01/01/70 00:00      
      RE: return address            01/01/70 00:00      
         Why does it bother you?            01/01/70 00:00      

Back to Subject List