This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about the rtx code


> I've got a question about pseudoregisters in the rtx code. If a value is 
> put in a pseudoregister just before a function call, is it still there 
> after the call or does it have to be saved on the stack somehow (how?), 
> i e does it get clobbered ? The reason I'm asking is that I'm trying to 

It will be there if you use it after the call.  The register allocator
will then arrange for the value to be put into a call-saved register,
so be saved around calls, or to be put into a stack slot.

-- 
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]