]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfglayout.c (pass_into_cfg_layout_mode, [...]): Provide/destroy PROP_cfglayout respec...
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 30 Mar 2009 08:23:00 +0000 (08:23 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Mon, 30 Mar 2009 08:23:00 +0000 (08:23 +0000)
2009-03-09  Paolo Bonzini  <bonzini@gnu.org>

        * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
        Provide/destroy PROP_cfglayout respectively.
        * gcse.c (pass_jump_bypass, pass_gcse): Require it.
        * tree-pass.h (PROP_cfglayout): New.

From-SVN: r145282

gcc/ChangeLog
gcc/cfglayout.c
gcc/gcse.c
gcc/tree-pass.h

index e4b3d9e05796c1c8216cdc30290cf8e72857b208..acb3e0e669f518c201b773d9660f5abf180ea92e 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
+
+        * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
+        Provide/destroy PROP_cfglayout respectively.
+        * gcse.c (pass_jump_bypass, pass_gcse): Require it.
+        * tree-pass.h (PROP_cfglayout): New.
+
 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
 
        * fold-const.c (const_binop, fold_convert_const_real_from_fixed,
index 27eb029d076688b67bdd35dc439d377aa6329f90..3af15ec560155225ab787c079b104d193892cf3e 100644 (file)
@@ -365,7 +365,7 @@ struct rtl_opt_pass pass_into_cfg_layout_mode =
   0,                                    /* static_pass_number */
   0,                                    /* tv_id */
   0,                                    /* properties_required */
-  0,                                    /* properties_provided */
+  PROP_cfglayout,                       /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
   TODO_dump_func,                       /* todo_flags_finish */
@@ -385,7 +385,7 @@ struct rtl_opt_pass pass_outof_cfg_layout_mode =
   0,                                    /* tv_id */
   0,                                    /* properties_required */
   0,                                    /* properties_provided */
-  0,                                    /* properties_destroyed */
+  PROP_cfglayout,                       /* properties_destroyed */
   0,                                    /* todo_flags_start */
   TODO_dump_func,                       /* todo_flags_finish */
  }
index ee2d31e0a42df54a0c6288a95318debe8ceb55a6..cbb8916603e5922dff4f7c50261464c0658e9a40 100644 (file)
@@ -6621,7 +6621,7 @@ struct rtl_opt_pass pass_jump_bypass =
   NULL,                                 /* next */
   0,                                    /* static_pass_number */
   TV_BYPASS,                            /* tv_id */
-  0,                                    /* properties_required */
+  PROP_cfglayout,                       /* properties_required */
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
@@ -6692,7 +6692,7 @@ struct rtl_opt_pass pass_gcse =
   NULL,                                 /* next */
   0,                                    /* static_pass_number */
   TV_GCSE,                              /* tv_id */
-  0,                                    /* properties_required */
+  PROP_cfglayout,                       /* properties_required */
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
index 77896725ae3f8d78c0c1eea7ff5ccfa5804e1c09..96239c494d867f7eced5731a083453d4e81805eb 100644 (file)
@@ -210,6 +210,7 @@ struct dump_file_info
 #define PROP_rtl               (1 << 7)
 #define PROP_alias             (1 << 8)
 #define PROP_gimple_lomp       (1 << 9)        /* lowered OpenMP directives */
+#define PROP_cfglayout         (1 << 10)       /* cfglayout mode on RTL */
 
 #define PROP_trees \
   (PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)