diff options
author | Balaji V. Iyer <balaji.v.iyer@intel.com> | 2014-01-24 23:13:49 +0000 |
---|---|---|
committer | Balaji V. Iyer <bviyer@gcc.gnu.org> | 2014-01-24 15:13:49 -0800 |
commit | b72271b953b368fab603cb86294c49c72097b78f (patch) | |
tree | 7c2fc7d7a4f6f51a88b3e89ee69680fac44aab8f /gcc/omp-low.c | |
parent | 8a35e18d02fd52813f21072ef8d664806b97a349 (diff) | |
download | gcc-b72271b953b368fab603cb86294c49c72097b78f.zip gcc-b72271b953b368fab603cb86294c49c72097b78f.tar.gz gcc-b72271b953b368fab603cb86294c49c72097b78f.tar.bz2 |
Replace flag_enable_cilkplus with flag_cilkplus.
gcc/ChangeLog
+2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
+ flag_cilkplus.
+ * builtins.def: Likewise.
+ * cilk.h (fn_contains_cilk_spawn_p): Likewise.
+ * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
+ * ira.c (ira_setup_eliminable_regset): Likewise.
+ * omp-low.c (gate_expand_omp): Likewise.
+ (execute_lower_omp): Likewise.
+ (diagnose_sb_0): Likewise.
+ (gate_diagnose_omp_blocks): Likewise.
+ (simd_clone_clauses_extract): Likewise.
+ (gate): Likewise.
+
gcc/c-family/ChangeLog
+2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-common.c (c_define_builtins): Replaced flag_enable_cilkplus with
+ flag_cilkplus.
+ * c-pragma.c (init_pragma): Likewise.
+ * c.opt: Likewise.
+
gcc/c/ChangeLog
+2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c-parser.c (c_parser_declaration_or_fndef): Replaced
+ flag_enable_cilkplus with flag_cilkplus.
+ (c_parser_direct_declarator_inner): Likewise.
+ (c_parser_attribute_any_word): Likewise.
+ (c_parser_attributes): Likewise.
+ (c_parser_compound_statement): Likewise.
+ (c_parser_statement_after_labels): Likewise.
+ (c_parser_if_statement): Likewise.
+ (c_parser_switch_statement): Likewise.
+ (c_parser_do_statement): Likewise.
+ (c_parser_for_statement): Likewise.
+ (c_parser_unary_expression): Likewise.
+ (c_parser_postfix_expression): Likewise.
+ (c_parser_postfix_expression_after_primary): Likewise.
+ (c_parser_postfix_expression_after_primary): Likewise.
+ (c_parser_omp_clause_name): Likewise.
+ (c_finish_omp_declare_simd): Likewise.
+ (c_parser_cilk_verify_simd): Likewise.
+ * c-typeck.c (build_array_ref): Likewise.
+ (build_function_call_vec): Likewise.
+ (convert_arguments): Likewise.
+ (build_compound_expr): Likewise.
+ (c_finish_return): Likewise.
+ (c_finish_if_stmt): Likewise.
+ (c_finish_loop): Likewise.
+ (build_binary_op): Likewise.
+
gcc/lto/ChangeLog
+2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * lto-lang.c (lto_init): Replaced flag_enable_cilkplus with
+ flag_cilkplus.
+
From-SVN: r207064
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 5a09b33..eeba4ae 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -8328,7 +8328,7 @@ static bool gate_expand_omp (void) { return ((flag_openmp != 0 || flag_openmp_simd != 0 - || flag_enable_cilkplus != 0) && !seen_error ()); + || flag_cilkplus != 0) && !seen_error ()); } namespace { @@ -10139,7 +10139,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 == 0 && flag_openmp_simd == 0 && flag_enable_cilkplus == 0) + if (flag_openmp == 0 && flag_openmp_simd == 0 && flag_cilkplus == 0) return 0; all_contexts = splay_tree_new (splay_tree_compare_pointers, 0, @@ -10258,7 +10258,7 @@ diagnose_sb_0 (gimple_stmt_iterator *gsi_p, #endif bool cilkplus_block = false; - if (flag_enable_cilkplus) + if (flag_cilkplus) { if ((branch_ctx && gimple_code (branch_ctx) == GIMPLE_OMP_FOR @@ -10587,7 +10587,7 @@ diagnose_omp_structured_block_errors (void) static bool gate_diagnose_omp_blocks (void) { - return flag_openmp || flag_enable_cilkplus; + return flag_openmp || flag_cilkplus; } namespace { @@ -10696,7 +10696,7 @@ simd_clone_clauses_extract (struct cgraph_node *node, tree clauses, be cloned have a distinctive artificial label in addition to "omp declare simd". */ bool cilk_clone - = (flag_enable_cilkplus + = (flag_cilkplus && lookup_attribute ("cilk simd function", DECL_ATTRIBUTES (node->decl))); @@ -11781,7 +11781,7 @@ public: /* opt_pass methods: */ bool gate () { return ((flag_openmp || flag_openmp_simd - || flag_enable_cilkplus || (in_lto_p && !flag_wpa)) + || flag_cilkplus || (in_lto_p && !flag_wpa)) && (targetm.simd_clone.compute_vecsize_and_simdlen != NULL)); } unsigned int execute () { return ipa_omp_simd_clone (); } |