From 1c170b5eba160dbdb474f2471af25437c88c5e50 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 28 Oct 2004 14:24:29 +0000 Subject: [PATCH] tree-ssa-loop-ivopts.c: Fix a comment typo. * tree-ssa-loop-ivopts.c: Fix a comment typo. * doc/invoke.texi: Fix a typo. From-SVN: r89759 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 2 +- gcc/tree-ssa-loop-ivopts.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4413c1cb37..af012f43b94 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-28 Kazu Hirata + + * tree-ssa-loop-ivopts.c: Fix a comment typo. + * doc/invoke.texi: Fix a typo. + 2004-10-28 Kazu Hirata * Makefile.in (OBJS-common): Remove duplicates. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 72d4f57dbde..c1d48eddfc6 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5322,7 +5322,7 @@ default value, 0, implies that GCC will select the most appropriate size itself. @item sra-field-structure-ratio -The treshold ratio (as a percentage) between instantiated fields and +The threshold ratio (as a percentage) between instantiated fields and the complete structure size. We say that if the ratio of the number of bytes in instantiated fields to the number of bytes in the complete structure exceeds this parameter, then block copies are not used. The diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index c0c800a7465..58771cd6c4d 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -3615,7 +3615,7 @@ try_add_cand_for (struct ivopts_data *data, bitmap ivs, bitmap inv, just one generic biv. If we added here many ivs specific to the uses, the optimization algorithm later would be likely to get stuck in a local minimum, thus causing us to create too many ivs. The approach from - few ivs to more seems more likely to be succesful -- starting from few + few ivs to more seems more likely to be successful -- starting from few ivs, replacing an expensive use by a specific iv should always be a win. */ EXECUTE_IF_SET_IN_BITMAP (data->important_candidates, 0, i, bi)