inlined functions and ABI guarantees

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux