Patchwork [committed] Delete endless loop typo

login
register
mail settings
Submitter John David Anglin
Date Oct. 11, 2010, 2:48 p.m.
Message ID <20101011144858.EB6044E7B@hiauly1.hia.nrc.ca>
Download mbox | patch
Permalink /patch/67428/
State New
Headers show

Comments

John David Anglin - Oct. 11, 2010, 2:48 p.m.
This fixes PR middle-end/45955.  Tested on hppa64-hp-hpux11.11.
Committed as obvious.

Dave

Patch

Index: ipa.c
===================================================================
--- ipa.c	(revision 165242)
+++ ipa.c	(working copy)
@@ -1487,7 +1487,6 @@ 
 	  TREE_SIDE_EFFECTS (call) = 1;
 	  append_to_statement_list (call, &body);
 	}
-      while (i < len);
       gcc_assert (body != NULL_TREE);
       /* Generate a function to call all the function of like
 	 priority.  */