From b06e8639fa88b579c1ea48123d4af902c2d7b101 Mon Sep 17 00:00:00 2001
From: Zdenek Dvorak <rakdver@gcc.gnu.org>
Date: Thu, 4 Jan 2007 09:53:29 +0000
Subject: [PATCH] cfgloop.h (enum li_flags): Make the constants powers of two.

	* cfgloop.h (enum li_flags): Make the constants powers of two.

From-SVN: r120433
---
 gcc/ChangeLog | 6 +++++-
 gcc/cfgloop.h | 8 ++++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 80cff3465772..73fd11fe98b8 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 19fc93fcc664..3116abf37679 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).  */
 };
-- 
GitLab