diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2008-05-23 01:31:04 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2008-05-23 01:31:04 +0000 |
commit | c63cac4791363e80ccb8fbc59a8bb52ddec1201c (patch) | |
tree | 5793de0e96c14894a91488e9d20fc8dc9085520e /gcc/omp-low.c | |
parent | 12c8a3556fca1046692689f55cbb406831a1d2e0 (diff) | |
download | gcc-c63cac4791363e80ccb8fbc59a8bb52ddec1201c.zip gcc-c63cac4791363e80ccb8fbc59a8bb52ddec1201c.tar.gz gcc-c63cac4791363e80ccb8fbc59a8bb52ddec1201c.tar.bz2 |
omp-low.c (gate_expand_omp_ssa): Remove.
* 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
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 3f2ed91..1f3063b 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -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 = |