This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Delete endless loop typo
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Oct 2010 10:48:57 -0400 (EDT)
- Subject: [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. */