This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bad jump threading change.
On Fri, Jan 04, 2002 at 10:14:06PM +0100, Jan Hubicka wrote:
> > On Fri, Jan 04, 2002 at 11:30:56AM -0700, law@redhat.com wrote:
> > >
> > > Your recent patch to toplev.c is causing regressions on the x86.
> > > Specifically the compiler is hanging in c-torture on
> > > compile/941014-3.c -fomit-frame-pointer -funroll-all-loops -finline-functions
> > >
> > > Please investigate and fix:
> > >
> > > 2002-01-04 H.J. Lu <hjl@gnu.org>
> > >
> > > * toplev.c (rest_of_compilation): Fix a typo when calling
> > > cleanup_cfg.
> > >
> >
> > Here is a simpler testcase:
> >
> > --foo.c--
> > void
> > foo (int i)
> > {
> > while (i == 0) ;
> > }
> > ----
> >
> > "-funroll-all-loops -O2" goes into an infinite loop. May I suggest
> > backing out
> >
> > http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01658.html
> I probably do have proper fix, so I will send the patch once testing finishes.
Does it also fix mips? If mips is still broken and won't be fixed for
3.1, I think that patch should be reverted.
H.J.