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: alpha-linux-x-mn10300-elf won't build libstdc++


On Fri, Apr 21, 2000 at 03:04:12PM -0300, Alexandre Oliva wrote:
> I got that, but the code stores INTVALs in longs, that are guaranteed
> by the C Standard to be 32-bits or wider, and it only cares about the
> lower 32 bits.  I can't see what's wrong with it.

With that statement?  Nothing.  However:

     && (((val[0] & 0x80) && ! (val[0] & 0xffffff00))

this is assuming that 0xffffff00 constitutes the balance of
the long, which is not the case on Alpha.  Use ~(long)0xff.

Of course, now that I actually looked at the whole movdi pattern,
I see that I misinterpreted what bug you were fixing.  :-/
Your patch is ok.  There's another bug in there though, which
is the one I'm talking about above.


r~

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