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: other/7114: ICE building strcoll.op from glibc-2.2.5


> Date: Wed, 17 Jul 2002 18:30:49 +0930
> From: Alan Modra <amodra@bigpond.net.au>
> Cc: d.mueller@elsoft.ch, gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org,
>    dje@watson.ibm.com

> On Wed, Jul 17, 2002 at 12:07:11AM -0700, Geoff Keating wrote:
> > So, why don't we go back to the push/pop implementation, but this time
> > do it properly?  We'd only need to push/pop in the (rare)
> > nested-function case.
> 
> I wasn't aware that powerpc used that scheme previously, and therefore
> was worried that some mcount implementation might peek at the stack.
> 
> Here we go.
> 
> 	* config/rs6000/r6000.c (first_reg_to_save): Remove bogus
> 	adjustments to first_reg for profiling case.
> 	(output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
> 	Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
> 	Save static chain reg to sp + 12 on ABI_AIX_NODESC.
> 	* config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
> 	(ASM_OUTPUT_REG_POP): Define.
> 	* config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
> 	(ASM_OUTPUT_REG_POP): Undef.

This is OK.  I'm pretty sure it's right, and completely sure it's no
worse than before. :-)


-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


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