make 64-bit literal constants long long

Alexandre Oliva aoliva@redhat.com
Fri Mar 14 01:15:00 GMT 2003


There's no guarantee that long is wide enough for these 64-bit
constants, even though they're protected by code that so far was only
compiled on environments that had 64-bit longs.  In the mips64 n32
port, that has 32-bit longs but 64-bit registers, we use a 64-bit
mp_limb_t, so we get warnings and/or truncated constants.  This patch
fixes as many as I could catch.  Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 64bit-literals-long-long.patch
Type: text/x-patch
Size: 28308 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030314/2a82a92b/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Libc-alpha mailing list