https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96061
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alexander Popov from comment #2) > > We are working on -fzero-call-used-regs: > > H.J. Lu, thanks for the information! > > However, this flag can't be used per-function, like the attribute. Incorrect. There is also a zero_call_used_regs attribute.