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]

does gcc remember register values through into functions?


Hi,

In gcc's optimization process (O3),  does it remember register
values through the function calls when the function
call is not inlined?

My guess is that gcc does not assume specific values in
any registers, except for registers that carry parameters
and serve as stack pointer, when it enters a function. But
I hope to be sure about this. Any hints and suggestions
would be appreciated.

Cheers,

lin
--
Lin Gu
University of Virginia


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