infinite loop in loop.c with -O2
Jeffrey A Law
Mon Jun 21 18:31:00 GMT 1999
In message < 199906211700.SAA28225@phal.cygnus.co.uk >you write:
> > I too am seeing an infinite loop when bootstrapping. This is on
> > x86-linux. I was compiling regclass.o with stage1, 18hr of CPU time
> > later... I was using:
> > File: loop.c Status: Up-to-date
> > Working revision: 1.165
> > Repository revision: 1.165 /egcs/carton/cvsfiles/egcs/gcc/loop.c,v
> > stage1/xgcc -Bstage1/ -c -DIN_GCC -DUSE_GNULIBC_1 -O2 -DHAVE_CONFIG_
> H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../inclu
> de ../../egcs/gcc/regclass.c
> > was the command. It loops while compiling init_reg_sets_1.
> The code using find_life_end was bogus. I've replaced it some time ago,
> but the patch hasn't been reviewed yet.
Can you extract out just the changes necessary to deal with the fine_life_end
This is *PRECISELY* why this code is so messed up -- you've got way too many
interdependencies between your patches. And I will NOT approve a mega-patch.
We do not allow other folks to submit huge mega-patches, we require them to
break them into manageable hunks. You will need to do the same or we'll have
to pull the recombine_givs and related code out _again_.
More information about the Gcc-patches