aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2010-10-11 14:02:03 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2010-10-11 14:02:03 +0000
commit7d26a391fd9ac40cc36a29d400805e7eba57d72e (patch)
treefef720a10803c1995d9dd58609a9d19846a9638a /gcc/ipa.c
parente90b1c4a4ab4d6141a57e827f1b2a548f577d7ba (diff)
downloadgcc-7d26a391fd9ac40cc36a29d400805e7eba57d72e.zip
gcc-7d26a391fd9ac40cc36a29d400805e7eba57d72e.tar.gz
gcc-7d26a391fd9ac40cc36a29d400805e7eba57d72e.tar.bz2
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
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index 8eadd36..0b1e2c9 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. */