On Mon, Jul 25, 2016 at 11:15 AM, H.J Lu <hjl.to...@gmail.com> wrote: > hjl.tools added a comment. > > no_caller_saved_registers attribute can be used with any calling conventions.
Okay, so is it expected that use of this attribute through a function pointer is not going to produce the same results as calling the function directly? e.g., void func(int, int, int, int) __attribute__((no_caller_saved_registers, cdecl)); int main() { void (*fp)(int, int, int, int) __attribute__((cdecl)) = func; func(1, 2, 3, 4); fp(1, 2, 3, 4); // Not the same as the above call to func()? } ~Aaron > > > https://reviews.llvm.org/D22045 > > > _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits