summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cfgloop.h8
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 80cff346577..73fd11fe98b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,10 +1,14 @@
+2007-01-04 Zdenek Dvorak <dvorakz@suse.cz>
+
+ * cfgloop.h (enum li_flags): Make the constants powers of two.
+
2007-01-04 Jan Hubicka <jh@suse.cz>
* tree-inline.c (copy_bb): Insert new statements to statements_to_fold
set.
(fold_marked_statements): New function.
(optimize_inline_calls, tree_function_versioning): Fold new statements.
- * tree-inline.h (copy_body_data): Add statemetns_to_fold.
+ * tree-inline.h (copy_body_data): Add statements_to_fold.
2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 19fc93fcc66..3116abf3767 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -406,11 +406,11 @@ number_of_loops (void)
enum li_flags
{
- LI_INCLUDE_ROOT, /* Include the fake root of the loop tree. */
- LI_FROM_INNERMOST, /* Iterate over the loops in the reverse order,
+ LI_INCLUDE_ROOT = 1, /* Include the fake root of the loop tree. */
+ LI_FROM_INNERMOST = 2,/* Iterate over the loops in the reverse order,
starting from innermost ones. */
- LI_ONLY_INNERMOST, /* Iterate only over innermost loops. */
- LI_ONLY_OLD /* Do not traverse the loops created during the
+ LI_ONLY_INNERMOST = 4,/* Iterate only over innermost loops. */
+ LI_ONLY_OLD = 8 /* Do not traverse the loops created during the
traversal (this is the default behavior with
LI_FROM_INNERMOST). */
};