diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2010-10-11 14:02:03 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2010-10-11 14:02:03 +0000 |
commit | 7d26a391fd9ac40cc36a29d400805e7eba57d72e (patch) | |
tree | fef720a10803c1995d9dd58609a9d19846a9638a | |
parent | e90b1c4a4ab4d6141a57e827f1b2a548f577d7ba (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a862b5e..5955d40 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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. */ |