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]

Re: [patches] Re: PIC_OFFSET_TABLE_REGNUM cleanups


> On Sun, Feb 11, 2001 at 05:08:42PM +0100, Jan Hubicka wrote:
> > Or I can introduce another macro "USE_PIC_OFFSET_TABLE_REGNUM"
> 
> I think this would be best.  It's the least confusing.
Hmm, I was thinking about it bit more. If we want to switch from
#ifdefs to conditionals whenever possible, we will hit similar problems
with other _REGNUM macros as well.
Dupplicating all these macros don't seems to be very good choice. Also we need
to define PIC_OFFSET_TABLE_REGNUM to something even when USE_PIC_OFFSET__TABLE
is false.

Whats about introducing INVALID_REGNUM constant (-1 casted to unsigned)
and use it instead of -1?

Honza


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