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]
Other format: [Raw text]

Re: m68k bootstrapping broken


Richard Zidlicky wrote:
On Wed, Jan 14, 2004 at 12:25:22AM +0100, Bernardo Innocenti wrote:
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

havent seen it in my log.

Well, this is *extremely* odd. I don't see it on i386-linux either, and it's still there with Adreas patch applied in both stage1 and stage2 compilers:

stage2/xgcc -Bstage2/ -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 -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


Could you please try running this exact command line on your system to make absolutely sure it's only happening on m68k-netbsdelf?

I'm puzzled.

Have you tried with a newer GCC snapshot?

still on 20040107, this one seems to have at least 2 bugs I havent seen in the previous snapshot :(

-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/



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