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: Patch to correct haifa-sched.c region scheduling



  In message <nrso0ebr9o.fsf@equinox.cygnus.com>you write:
  > This fixes a couple of bugs in the haifa-sched.c new CFG support which
  > accidently turned off most region scheduling.  build_control_flow was
  > erroneously flagging valid loops as unreachable which resulted in
  > find_rgns never being called.  Additionally find_rgns was setting
  > degree (# predecessors) incorrectly.  Tested on Sparc.
  > 
  > Okay to commit?
  > 
  > 2000-01-04  Stan Cox  <scox@cygnus.com>
  > 
  > 	* haifa-sched.c (build_control_flow): Change unreachable simple
  > 	loop test to check if current block has only one predecessor.
  > 	(find_rgns): Initialize degree.  Use dest as degree index, not src.
This is fine.  Please install it.

Thanks,
jeff


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