On Wed, Sep 26, 2018 at 11:10:29AM -0700, H.J. Lu wrote: > Add -mzero-caller-saved-regs=[skip|used|all] command-line option and > zero_caller_saved_regs("skip|used|all") function attribue:
Minor nit, but could this be named -mzero-call-clobbered-regs? "Caller-saved" is a misnomer and inconsistent with other gcc usage. For example -fcall-used-[reg] documents it as "an allocable register that is clobbered by function calls". This is a piece of terminology I've been trying to get fixed in educational materials so it would be nice to avoid a new instance of it in gcc. Rich