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: [RTL, ColdFire 15/63] Avoid out-of-segment constants on uClinux.


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.

Roger
--


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