re PR middle-end/45955 (FAIL: gcc.dg/initpri1.c (test for excess errors))

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

From-SVN: r165308
This commit is contained in:
John David Anglin 2010-10-11 14:02:03 +00:00 committed by John David Anglin
parent e90b1c4a4a
commit 7d26a391fd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/45955
* ipa.c (build_cdtor): Delete endless loop.
2010-10-07 Andi Kleen <ak@linux.intel.com>
* Makefile.in (MOSTLYCLEANFILES): Remove cc1*dummy, add

View File

@ -1487,7 +1487,6 @@ build_cdtor (bool ctor_p, VEC (tree, heap) *cdtors)
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. */