This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69645] New: powerpc -ffixed-<reg> ignored when saving and restoring regs
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Feb 2016 03:23:03 +0000
- Subject: [Bug target/69645] New: powerpc -ffixed-<reg> ignored when saving and restoring regs
- Auto-submitted: auto-generated
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).