omp-low.c (gate_expand_omp_ssa): Remove.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 23 May 2008 01:31:04 +0000 (01:31 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 23 May 2008 01:31:04 +0000 (01:31 +0000)
        * omp-low.c (gate_expand_omp_ssa): Remove.
        (pass_expand_omp_ssa): Remove.
        (gate_expand_omp): Do not check for flag_openmp_ssa.
        * common.opt (-fopenmp-ssa): Remove.
        * passes.c (init_optimization_passes): Remove pass_expand_omp_ssa.

From-SVN: r135786

gcc/ChangeLog
gcc/common.opt
gcc/omp-low.c
gcc/passes.c

index 116fb9691092329e6708a4f368203ad9d9038f9a..51712235ae0df504d4cf6aa4f3a22b9a08ff5217 100644 (file)
@@ -1,3 +1,11 @@
+2008-05-22  Aldy Hernandez  <aldyh@redhat.com>
+
+       * omp-low.c (gate_expand_omp_ssa): Remove.
+       (pass_expand_omp_ssa): Remove.
+       (gate_expand_omp): Do not check for flag_openmp_ssa.
+       * common.opt (-fopenmp-ssa): Remove.
+       * passes.c (init_optimization_passes): Remove pass_expand_omp_ssa.
+
 2008-05-22  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/sh.opt (mfixed-range): New option.
index 4a44cd6812243576fb29d87c174c33513895eb45..7af5c783c686d3f474a3db17051be7e71eabfdd3 100644 (file)
@@ -732,10 +732,6 @@ fomit-frame-pointer
 Common Report Var(flag_omit_frame_pointer) Optimization
 When possible do not generate stack frames
 
-fopenmp-ssa
-Common Report Var(flag_openmp_ssa)
-Expand OpenMP operations on SSA form
-
 foptimize-register-move
 Common Report Var(flag_regmove) Optimization
 Do the full register move optimization pass
index 3f2ed91a0685ce77c4be5f5d043886d82cc33e74..1f3063ba53e7174352bc4ae2ae627c90a1727a01 100644 (file)
@@ -4217,40 +4217,12 @@ execute_expand_omp (void)
   return 0;
 }
 
-/* OMP expansion in SSA form.  For testing purposes only.  */
-
-static bool
-gate_expand_omp_ssa (void)
-{
-  return flag_openmp_ssa && flag_openmp != 0 && errorcount == 0;
-}
-
-struct gimple_opt_pass pass_expand_omp_ssa = 
-{
- {
-  GIMPLE_PASS,
-  "ompexpssa",                         /* name */
-  gate_expand_omp_ssa,                 /* gate */
-  execute_expand_omp,                  /* execute */
-  NULL,                                        /* sub */
-  NULL,                                        /* next */
-  0,                                   /* static_pass_number */
-  0,                                   /* tv_id */
-  PROP_gimple_any,                     /* properties_required */
-  PROP_gimple_lomp,                    /* properties_provided */
-  0,                                   /* properties_destroyed */
-  0,                                   /* todo_flags_start */
-  TODO_dump_func                       /* todo_flags_finish */
- }
-};
-
 /* OMP expansion -- the default pass, run before creation of SSA form.  */
 
 static bool
 gate_expand_omp (void)
 {
-  return ((!flag_openmp_ssa || !optimize)
-         && flag_openmp != 0 && errorcount == 0);
+  return (flag_openmp != 0 && errorcount == 0);
 }
 
 struct gimple_opt_pass pass_expand_omp = 
index fa74d0fe0b18aca360138f19398203ecf2e0fb9c..56862d88a5d2ad10e318f9f2ad2c20b1e2504a11 100644 (file)
@@ -548,7 +548,6 @@ init_optimization_passes (void)
          NEXT_PASS (pass_referenced_vars);
          NEXT_PASS (pass_reset_cc_flags);
          NEXT_PASS (pass_build_ssa);
-         NEXT_PASS (pass_expand_omp_ssa);
          NEXT_PASS (pass_early_warn_uninitialized);
          NEXT_PASS (pass_rebuild_cgraph_edges);
          NEXT_PASS (pass_early_inline);