------- Comment #2 from a dot pignotti at sssup dot it 2009-03-02 11:54 ------- Using -fcall-saved-reg for every reg is a very heavy syntax, and would not work on flags register. I think that a per function attribute would be better. It seems that this feature is actually supported for a couple of architectures (for example blackfin) with the attribute 'saveall'
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39341