This is the mail archive of the gcc-help@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]

different ABI's for different functions


Hi,

I was wondering if i could use the "optimize" Function Attribute
with -fcall-saved-reg or -fcall-used-reg ?to get different ABI's for
different functions in the same compilation unit?

If i can't do it directly, can i call such function through inline
assembly and manually clobber the required register?

Thank,
Ilya.


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