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


> cc: amodra@bigpond.net.au, d.mueller@elsoft.ch, gcc-gnats@gcc.gnu.org,
>    gcc-patches@gcc.gnu.org
> Date: Wed, 17 Jul 2002 11:42:02 -0400
> From: David Edelsohn <dje@watson.ibm.com>
> 
> >>>>> Geoff Keating writes:
> 
> Geoff> So, thanks for testing it!  We now know this doesn't work. :-)
> 
> 	The patch was tested on SVR4 by Franz and showed no new failures:
> 
> http://gcc.gnu.org/ml/gcc-patches/1999-03n/msg00584.html

The testsuite probably doesn't check that r30 is not clobbered in a
nested function when profiling is switched on.  Actually, Alan, could
you write a test for that?  (That's something I missed while reviewing
your patch.)

> PUSH/POP cannot work on PowerPC.  On AIX PUSH/POP were corrupting the
> stack.

Because they were implemented wrongly?

Clearly, push/pop can work, because procedures push and pop call
frames all the time.  It's just necessary to do it the right way. 

For AIX, of course, push/pop is unnecessary, and Alan's patch didn't
add it.

-- 
- 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]