This is the mail archive of the gcc-patches@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]

PATCH - Saving varargs for powerpc with -mpowerpc64



This patch fixes a bug when ppc saves vararg registers in function prologue. Bug is with -mpowerpc64
mode only. It replaces call to middle-end routine, move_block_from_reg, with an rs6000 specific one.
bootstrap, dejagnu tested on ppc-darwin. Specific SPEC test for this bug, 176.gcc, builds with -O3 -mpowerpc64.


David Edelsohn has approved this patch.

- Fariborz <fjahanian@apple.com>

ChangeLog:

2003-11-14 Fariborz Jahanian <fjahanian@apple.com>

        * config/rs6000/rs6000.c (rs6000_move_block_from_reg):
          New routine to save vararg registers on stack. Support for
          -mpowerpc64 in mixed mode.



Attachment: patch_rs6000_move_block.txt
Description: Text document


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