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