This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix gcc.dg/20020312-2.c on powerpc-linux-gnu
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org,Richard Henderson <rth at redhat dot com>,Stan Shebs <shebs at apple dot com>
- Date: Sun, 31 Mar 2002 17:33:46 +0200
- Subject: Re: [PATCH] Fix gcc.dg/20020312-2.c on powerpc-linux-gnu
- References: <200203302303.SAA26246@makai.watson.ibm.com>
On Sunday 31 March 2002 00:03, David Edelsohn wrote:
> * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
> (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
> !flag_pic.
> (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
> * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
> of PIC_OFFSET_TABLE_REGNUM thruout.
> * config/rs6000/rs6000.md: Likewise.
> * config/rs6000/darwin.h: Likewise.
>
> Global replacement of PIC_OFFSET_TABLE_REGNUM with
> RS6000_PIC_OFFSET_TABLE_REGNUM in the rs6000 files to allow for the
> PIC_OFFSET_TABLE_REGNUM fix is fine with me.
Andreas Tobler told me Stan is on vacation and bootstrapped and regtested the
patch on Darwin without regressions for me.
OK to commit to mainline and branch now?
Franz.