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]
Other format: [Raw text]

[committed] Delete endless loop typo


This fixes PR middle-end/45955.  Tested on hppa64-hp-hpux11.11.
Committed as obvious.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-10-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR middle-end/45955
	* ipa.c (build_cdtor): Delete endless loop.

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.  */


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