Don't let gen_lowpart generate SUBREGs with word -1.

Alexandre Oliva aoliva@redhat.com
Wed Nov 22 18:18:00 GMT 2000


On Nov 22, 2000, Richard Henderson <rth@redhat.com> wrote:

> On Wed, Nov 22, 2000 at 07:30:06PM -0200, Alexandre Oliva wrote:
>> * emit-rtl.c (gen_lowpart_common): Use word 0 for paradoxical
>> subregs.

> Ok.

>> (gen_highpart): Abort on little-endian PARADOXICAL subreg.

> I think it would make more sense to abort on any paradoxical highpart.

I think I've given it a spin like that and it crashed because highpart
is actually the lower bits when you're BIG_ENDIAN.  I'll try again.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-patches mailing list