Patch for cfgloopmanip.c - misplaced semicolon

Fred Fish fnf@public.ninemoons.com
Wed Feb 5 16:50:00 GMT 2003


2003-02-05  Fred Fish  <fnf@intrinsity.com>

	* cfgloopmanip.c (force_single_succ_latches): Remove semicolon
	that nullified intended for loop body.

Index: cfgloopmanip.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloopmanip.c,v
retrieving revision 1.3
diff -c -p -r1.3 cfgloopmanip.c
*** cfgloopmanip.c	28 Jan 2003 11:05:18 -0000	1.3
--- cfgloopmanip.c	5 Feb 2003 16:48:19 -0000
*************** force_single_succ_latches (loops)
*** 159,165 ****
        if (!loop->latch->succ->succ_next)
  	continue;
   
!       for (e = loop->header->pred; e->src != loop->latch; e = e->pred_next);
  	loop_split_edge_with (e, NULL_RTX, loops);
      }
    loops->state |= LOOPS_HAVE_SIMPLE_LATCHES;
--- 159,165 ----
        if (!loop->latch->succ->succ_next)
  	continue;
   
!       for (e = loop->header->pred; e->src != loop->latch; e = e->pred_next)
  	loop_split_edge_with (e, NULL_RTX, loops);
      }
    loops->state |= LOOPS_HAVE_SIMPLE_LATCHES;



More information about the Gcc-patches mailing list