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]

Re: Uninitialized memory access in final.c



  In message <20000919091025.B26169@cygnus.com>you write:
  > On Tue, Sep 19, 2000 at 03:45:03PM +0100, Bernd Schmidt wrote:
  > > Is it ever valid for an insn's length to be increased during
  > > shorten_branches?  It seems to me that this would cause the
  > > algorithm to be no longer guaranteed to terminate.
  > 
  > I thought we started with smallest lengths and always expanded.
  > Otherwise you wouldn't find the minimal solution.
Nyet.  We start pessimistic and improve, at least last time I looked
at that code.  Someone (I don't remember who) suggested we change it
to start optimistic and lengthen as needed to find the best solution.
Jeff

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