|
From: Yao Qi <qiy...@cn...> - 2005-11-14 06:34:41
|
I tried to compile valgrind/none/tests/ppc32/jm-insns.c with both GCC-4.1.0 and GCC-3.4.3, but I could not find any error during compilation, except warnings caused by -Wdeclaration-after-statement. I compiled it like this, /home/qiyao/svn/build_gcc/gcc/xgcc -B/home/qiyao/svn/build_gcc/gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -Winline -Wall -O -mregnames -DHAS_ALTIVEC -maltivec -Wno-long-long -Wdeclaration-after-statement -MT jm_insns-jm-insns.o -MD -MP -MF ".deps/jm_insns-jm-insns.Tpo" -c -o jm_insns-jm-insns.o jm-insns.c My compiler version is, [qiyao@linux~]$ /home/qiyao/svn/build_gcc/gcc/xgcc -v Using built-in specs. Target: powerpc64-linux Configured with: ../gcc/configure --enable-languages=c --enable-shared --enable-threads=posix --enable-checking --with-system-zlib --enable-__cxa_atexit -with-cpu=default32 --target=powerpc64-linux --host=powerpc64-linux --build=powerpc64-linux --with-as=/home/qiyao/binutils/binutils_build/gas/as-new --with-ld=/home/qiyao/binutils/binutils_build/ld/ld-new Thread model: posix gcc version 4.1.0 20051113 (experimental) I am not sure about the item in 'Release plan for 3.1.0', - fix none/tests/ppc32/jm-insns.c so it works with gcc4. Could anybody here explain this item further? Am I missing something? Would anyone like to have a look? Any comments are greatly appreciated. Maybe I could code patch on this to move all the declarations in front of statements to remove all the compiler warnings, any thought on this? -- Regards, Yao ------------ Yao Qi |