[RTL, ColdFire 15/63] Avoid out-of-segment constants on uClinux.

Roger Sayle roger@eyesopen.com
Thu Jan 11 04:53:00 GMT 2007

Hi Richard,

On Wed, 10 Jan 2007, Richard Sandiford wrote:
> gcc/
> 	* Makefile.in (rtlanal.o): Depend on tree.h.
> 	* rtl.h (offset_within_section_p, split_const): Declare.
> 	* rtlanal.c: Include tree.h.
> 	(offset_within_block_p): New function, taken from
> 	mips_offset_within_object_p.
> 	(split_const): New function, taken from mips_split_const.

The middle-end infrastructure bits of this patch are OK for mainline.
The relevant functions look reasonable to share in the rtlanal.c
rather than duplicate in each backend.


More information about the Gcc-patches mailing list