From: John David Anglin Date: Mon, 11 Oct 2010 14:02:03 +0000 (+0000) Subject: re PR middle-end/45955 (FAIL: gcc.dg/initpri1.c (test for excess errors)) X-Git-Tag: releases/gcc-4.6.0~3636 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d26a391fd9ac40cc36a29d400805e7eba57d72e;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a862b5e34d11..5955d40f773f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 John David Anglin + + PR middle-end/45955 + * ipa.c (build_cdtor): Delete endless loop. + 2010-10-07 Andi Kleen * Makefile.in (MOSTLYCLEANFILES): Remove cc1*dummy, add diff --git a/gcc/ipa.c b/gcc/ipa.c index 8eadd36ca30a..0b1e2c918034 100644 --- a/gcc/ipa.c +++ b/gcc/ipa.c @@ -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. */