diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2013-06-28 10:23:50 -0700 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2013-06-28 10:23:50 -0700 |
commit | 5ca05cc513c2a141e2636957ed60a9e3d3e75bd6 (patch) | |
tree | 630f92455a26a73e6f3de04a974e4618d585084f /gcc/omp-low.c | |
parent | 7fb75753fa7e7c54af3b5e0aea65d8051feac55d (diff) | |
download | gcc-5ca05cc513c2a141e2636957ed60a9e3d3e75bd6.tar.gz |
Fix merge fallout.aldyh/cilk-in-gomp
Use flag_enable_cilkplus instead of flag_enable_cilk.
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index cb304add917..f5d1735964a 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -7413,7 +7413,7 @@ execute_expand_omp (void) static bool gate_expand_omp (void) { - return ((flag_openmp || flag_enable_cilk) && !seen_error ()); + return ((flag_openmp || flag_enable_cilkplus) && !seen_error ()); } struct gimple_opt_pass pass_expand_omp = @@ -8604,7 +8604,7 @@ execute_lower_omp (void) /* This pass always runs, to provide PROP_gimple_lomp. But there is nothing to do unless -fopenmp is given. */ - if (!flag_openmp && !flag_enable_cilk) + if (!flag_openmp && !flag_enable_cilkplus) return 0; all_contexts = splay_tree_new (splay_tree_compare_pointers, 0, @@ -8708,7 +8708,7 @@ diagnose_sb_0 (gimple_stmt_iterator *gsi_p, #endif bool cilkplus_block = false; - if (flag_enable_cilk) + if (flag_enable_cilkplus) { if ((branch_ctx && gimple_code (branch_ctx) == GIMPLE_OMP_FOR @@ -8916,7 +8916,7 @@ diagnose_omp_structured_block_errors (void) static bool gate_diagnose_omp_blocks (void) { - return flag_openmp || flag_enable_cilk; + return flag_openmp || flag_enable_cilkplus; } struct gimple_opt_pass pass_diagnose_omp_blocks = |