alpha-linux-x-mn10300-elf won't build libstdc++

Alexandre Oliva aoliva@cygnus.com
Fri Apr 21 10:33:00 GMT 2000


On Apr 21, 2000, Richard Henderson <rth@cygnus.com> wrote:

> On Fri, Apr 21, 2000 at 06:50:28AM -0300, Alexandre Oliva wrote:
>> For some reason, this bug doesn't show up on x86 or sparc, but it
>> causes `movu' to be inappropriately used while building libstdc++ on
>> alpha-linux-x-mn10300-elf.  Ok to install?

> No.  You're papering over the code that's assuming 32-bit ints.

But target ints *are* 32-bits long.  I can't see anything wrong with
the code, except that it's assuming val contains something meaningful
when it doesn't.

> You'll want to change the masks and tests to assume sign-extended
> values.

But the point is exactly not to have sign-extended values.  More
significant bits don't matter here.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Gcc-patches mailing list