X32 psABI status update

2011-03-05 Thread H.J. Lu
Hi, Many x32 bugs are fixed in kernel, glibc, binutils and GCC: https://sites.google.com/site/x32abi/ The major remaining issues are glibc/gcc testsuite failures, kernel core dump and signal handler unwind. -- H.J.

__builtin_clzll and uintmax_t

2011-03-05 Thread Marc Glisse
Hello, the following question came up for a libstdc++ patch. We have a variable of type uintmax_t and want to count the leading zeros. Can we just call __builtin_clzll on it? In particular, can uintmax_t be larger than unsigned long long in gcc? Is __builtin_clzll available on all platforms?

Re: __builtin_clzll and uintmax_t

2011-03-05 Thread FX
Salut Marc ! > We have a variable of type uintmax_t and want to count the leading zeros. Can > we just call __builtin_clzll on it? Yes. > In particular, can uintmax_t be larger than unsigned long long in gcc? uintmax_t is the largest of the standard unsigned C types, so it cannot be larger th

gcc-4.6-20110305 is now available

2011-03-05 Thread gccadmin
Snapshot gcc-4.6-20110305 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110305/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

-flto tests don't pick up libgloss code at link time

2011-03-05 Thread Anthony Green
All of the -flto tests fail for moxie-elf... http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg00399.html It turns out that this is because it fails to link with the code in libgloss when I enable -flto. I link the test code with a special linker script (sim.ld) that pulls in the libgloss cod