This is the mail archive of the gcc@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]

Re: Loop unrolling


> Date: Mon, 1 Jun 1998 12:57:21 +0200 (MET DST)
> From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
> To: egcs-patches@cygnus.com, egcs@cygnus.com
> cc: Tim Hollebeek <tim@wagner.princeton.edu>

> As a matter of fact, is there still any strong reason not to delete
> empty loops in general?

I don't think we should.

> > Morover, with @samp{-funroll-loops} small ``empty'' loops indeed are
> > removed, so the current behavior is both sub-optimal and inconsistent
> > and may well change in the future. 

I don't think this should go in the docs.  I think it is a bug in the
unroller that gcc optimizes away an empty loop.  I think this should
be fixed.  I think the docs can admit the current bug, but should not
call it anything but a bug.


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