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]

Re: PowerPC prologue and epilogue 5


On Wed, Apr 18, 2012 at 12:45:16AM +0930, Alan Modra wrote:
> This enables out-of-line save and restore for large frames, and for
> ABI_AIX when using the static chain.

Further testing revealed two problems when compiling nested
functions.
1) The logic I had for cr_save_regno is wrong, resulting in one of my
   NOT_INUSE asserts triggering.
2) In some cases the prologue uses in-line saves while the epilogue
   uses out-of-line restores.  This can lead to restoring regs that
   haven't been saved.

Patch withdrawn.

-- 
Alan Modra
Australia Development Lab, IBM


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