This is the mail archive of the
mailing list for the GCC project.
Re: PIC_OFFSET_TABLE_REGNUM cleanups
> On Sat, Feb 10, 2001 at 04:35:45PM +0100, Jan Hubicka wrote:
> > ! if (PIC_OFFSET_TABLE_REGNUM >= 0)
> Many places regno is unsigned. I don't want to get into the
> habit of testing PIC_OFFSET_TABLE_REGNUM vs -1 for that reason.
OK - good point. Do you have idea about better interface?
I may set it to FIRST_PSEUDO_REGISTER as "no PIC_OFFSET_TABLE_REGNUM".
Or I can introduce another macro "USE_PIC_OFFSET_TABLE_REGNUM"
The purpose of this patch is that I need to disable PIC_OFFSET_TABLE_REGNUM
for x86_64, where we use instruction pointer addressing instead.