New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2

Alexandre Oliva aoliva@redhat.com
Sun May 6 11:19:00 GMT 2001


On May  6, 2001, Mark Mitchell <mark@codesourcery.com> wrote:

> But why doesn't this hunk:

>   -			       copy_to_mode_reg (DImode, GEN_INT (BITMASK_HIGH)),
>   +			       copy_to_mode_reg (DImode,
>   +						 GEN_INT (BITMASK_HIGH)),

> need the trunc_int_for_mode treatment?

Because BITMASK_HIGH is only 32-bits wide, and it's being stored in a
DImode register, so there's no need for sign-extension.  In fact, it's
zero-extended, which is (or at least seems to be) the intent.

-- 
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-bugs mailing list