This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k bootstrapping broken
Richard Zidlicky wrote:
Hi,
bootstrapping with "languages=c" just completed.
Did you get this warning?
stage1/xgcc -Bstage1/ -B/home/bernie/src/m68k-netbsdelf-HEAD-install/m68k-unknown-netbsdelf1.6.2./bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../combined-HEAD/gcc -I../../combined-HEAD/gcc
/. -I../../combined-HEAD/gcc/../include ../../combined-HEAD/gcc/bb-reorder.c -o bb-reorder.o
../../combined-HEAD/gcc/bb-reorder.c: In function `reorder_basic_blocks':
../../combined-HEAD/gcc/bb-reorder.c:186: warning: 'count_threshold' might be used uninitialized in this function
gmake[1]: *** [bb-reorder.o] Error 1
gmake[1]: Leaving directory `/home/bernie/src/m68k-netbsdelf-HEAD-build/gcc'
gmake: *** [stage2_build] Error 2
I get it on m68k-netbsd while building stage2 with the stage1 compiler.
I can't reproduce it on i386-pc-linux, and this warning is clearly a
deficiency in control flow analysis, something that isn't supposed to
vary on a per-host basis.
The argpointer
elimination problem still remains - crosscompiler does it correctly,
bootstrapped compiler doesnt.
There definitely must be yet another bug besides the one found by
Andreas. I'm still running make bootstrap on my m68k-netbsd account,
so I can't confirm your findings :-(
The infinite recrusion with when compiling cp-demangle also remains.
Have you tried with a newer GCC snapshot?
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/