This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/69645] New: powerpc -ffixed-<reg> ignored when saving and restoring regs


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]