https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96061
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-07-04 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alexander Popov from comment #0) > This is an enhancement request. > > GCC currently supports 'no_caller_saved_registers' attribute only for x86. > Clang supports it for all target architectures. We are working on -fzero-call-used-regs: https://gitlab.com/x86-gcc/gcc/-/tree/users/qinzhao/caller-saved/master They are related.