This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: infinite loop in loop.c with -O2
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: infinite loop in loop.c with -O2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 21 Jun 1999 19:25:31 -0600
- cc: mrs at wrs dot com (Mike Stump), egcs-bugs at egcs dot cygnus dot com, amylaar at cygnus dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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
problems.
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_.
jeff