From: dmalcolm Date: Wed, 9 Dec 2015 00:46:31 +0000 (+0000) Subject: Fix misleading indentation in tree-nested.c X-Git-Tag: upstream/6.1~2385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1cb63fd530ca10e0968a52fdf66e9d2cc466c48;p=platform%2Fupstream%2Flinaro-gcc.git Fix misleading indentation in tree-nested.c gcc/ChangeLog: * tree-nested.c (convert_tramp_reference_stmt): Fix indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231436 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 15685a9..26e63ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-12-08 David Malcolm + * tree-nested.c (convert_tramp_reference_stmt): Fix indentation. + +2015-12-08 David Malcolm + * tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Fix indentation. 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 (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 (stmt), + c); + } } info->new_local_var_chain = save_local_var_chain; info->static_chain_added |= save_static_chain_added;