[patches] Re: PIC_OFFSET_TABLE_REGNUM cleanups

Richard Henderson rth@redhat.com
Tue Feb 13 08:47:00 GMT 2001


On Tue, Feb 13, 2001 at 02:14:43PM +0100, Jan Hubicka wrote:
> I've run into trouble with UINT_MAX not being defined in all files.
> Is this solution OK? If not where I sould add the limits.h?

I might have put it in system.h, but this is fine.

> 	* cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
> 	conditionals.
> 	* defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
> 	* emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
> 	* flow.c (mark_regs_live_at_end): Likewise.
> 	(calculate_global_regs_live): Likewise.
> 	* gcse.c (compute_hash_table): Likewise.
> 	(compute_kill_rd): Likewise.
> 	* resource.c (mark_target_live_regs): Likewise.
> 	* rtl.h (INVALID_REGNUM): New macro.

Ok.


r~



More information about the Gcc-patches mailing list