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: [PATCH] Fix PR target/8340


On Fri, Nov 22, 2002 at 11:41:15AM -0800, Geoff Keating wrote:
> In particular, I see that MIPS, ia64, and alpha all define
> PIC_OFFSET_TABLE_REGNUM unconditionally.

And rightly so, since they *use* the pic register unconditionally.
Indeed, that was the whole point of the patch that changed from
using flag_pic in generic code.

I believe all of the ports have been updated:

Wed Apr 24 21:51:54 2002  J"orn Rennecke <joern.rennecke@superh.com>

        * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.

2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
        (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
        !flag_pic.

2002-03-12  Richard Henderson  <rth@redhat.com>

        PR optimization/5878
        * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
        config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
        (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.



r~


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