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: Don't let gen_lowpart generate SUBREGs with word -1.


On Thu, Nov 23, 2000 at 08:07:16AM -0200, Alexandre Oliva wrote:
> Here's the new patch, bootstrapped on i686-pc-linux-gnu.  Ok to
> install?

I'd have been happier with it being tested on a big-endian
machine, but I can't really imagine it failing either.

> 	* emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
> 	is narrower than requested mode.
> 	(gen_highpart): Abort if register mode is narrower than
> 	requested mode.

Ok.


r~

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