inlined functions and ABI guarantees
Maurizio Vitale
maurizio.vitale@polymath-solutions.com
Sat Feb 23 04:58:00 GMT 2008
Is it safe to assume that GCC saves "callee-owned" registers around a
function call that gets inlined?
Or does GCC look inside the expansion and determines what needs to be
saved?
I'm asking because I have functions that do the equivalent of a
context-switch and I suspect I have to add
a clobber that explains to GCC that all the callee-owned registers
are really fubar even when that's not ppent from the function expansion.
Best regards,
Maurizio
More information about the Gcc-help
mailing list