diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-12-09 00:46:31 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-12-09 00:46:31 +0000 |
commit | 9ba300b1a53cbce4924f0e392135b4cdf0ee9fdd (patch) | |
tree | faa93e9051cdd6bb736f8759f59e418eccd8dcff /gcc/tree-nested.c | |
parent | 0581d86f32b5413401cd41a9cc090b7b88e354b1 (diff) | |
download | gcc-9ba300b1a53cbce4924f0e392135b4cdf0ee9fdd.zip gcc-9ba300b1a53cbce4924f0e392135b4cdf0ee9fdd.tar.gz gcc-9ba300b1a53cbce4924f0e392135b4cdf0ee9fdd.tar.bz2 |
Fix misleading indentation in tree-nested.c
gcc/ChangeLog:
* tree-nested.c (convert_tramp_reference_stmt): Fix indentation.
From-SVN: r231436
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index da19e8d..3a9479a 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -2375,27 +2375,27 @@ convert_tramp_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, || OMP_CLAUSE_CODE (c) == OMP_CLAUSE_SHARED) && OMP_CLAUSE_DECL (c) == decl) break; - if (c == NULL && gimple_code (stmt) != GIMPLE_OMP_TARGET) - { - c = build_omp_clause (gimple_location (stmt), - i ? OMP_CLAUSE_FIRSTPRIVATE - : OMP_CLAUSE_SHARED); - OMP_CLAUSE_DECL (c) = decl; - OMP_CLAUSE_CHAIN (c) = gimple_omp_taskreg_clauses (stmt); - gimple_omp_taskreg_set_clauses (stmt, c); - } - else if (c == NULL) - { - c = build_omp_clause (gimple_location (stmt), - OMP_CLAUSE_MAP); - OMP_CLAUSE_DECL (c) = decl; - OMP_CLAUSE_SET_MAP_KIND (c, - i ? GOMP_MAP_TO : GOMP_MAP_TOFROM); - OMP_CLAUSE_SIZE (c) = DECL_SIZE_UNIT (decl); - OMP_CLAUSE_CHAIN (c) = gimple_omp_target_clauses (stmt); - gimple_omp_target_set_clauses (as_a <gomp_target *> (stmt), - c); - } + if (c == NULL && gimple_code (stmt) != GIMPLE_OMP_TARGET) + { + c = build_omp_clause (gimple_location (stmt), + i ? OMP_CLAUSE_FIRSTPRIVATE + : OMP_CLAUSE_SHARED); + OMP_CLAUSE_DECL (c) = decl; + OMP_CLAUSE_CHAIN (c) = gimple_omp_taskreg_clauses (stmt); + gimple_omp_taskreg_set_clauses (stmt, c); + } + else if (c == NULL) + { + c = build_omp_clause (gimple_location (stmt), + OMP_CLAUSE_MAP); + OMP_CLAUSE_DECL (c) = decl; + OMP_CLAUSE_SET_MAP_KIND (c, + i ? GOMP_MAP_TO : GOMP_MAP_TOFROM); + OMP_CLAUSE_SIZE (c) = DECL_SIZE_UNIT (decl); + OMP_CLAUSE_CHAIN (c) = gimple_omp_target_clauses (stmt); + gimple_omp_target_set_clauses (as_a <gomp_target *> (stmt), + c); + } } info->new_local_var_chain = save_local_var_chain; info->static_chain_added |= save_static_chain_added; |