https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69645
Bug ID: 69645 Summary: powerpc -ffixed-<reg> ignored when saving and restoring regs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- -Os code using out-of-line register save/restore functions, and -mmultiple code, ignores -ffixed-<reg> when saving and restoring regs. We ought to never restore a -ffixed-<reg>. It might be permissable to save such a reg so long as we didn't emit eh_frame info for it (which could result in frame unwinding restoring the reg).