Fix misleading indentation in tree-nested.c
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 9 Dec 2015 00:46:31 +0000 (00:46 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 9 Dec 2015 00:46:31 +0000 (00:46 +0000)
gcc/ChangeLog:
* tree-nested.c (convert_tramp_reference_stmt): Fix indentation.

From-SVN: r231436

gcc/ChangeLog
gcc/tree-nested.c

index 15685a91a62b9ae38e5d4e4c3ed3c8a44b641651..26e63ca1966cbe1ebbd5f323adaebd77dbc0c8a9 100644 (file)
@@ -1,3 +1,7 @@
+2015-12-08  David Malcolm  <dmalcolm@redhat.com>
+
+       * tree-nested.c (convert_tramp_reference_stmt): Fix indentation.
+
 2015-12-08  David Malcolm  <dmalcolm@redhat.com>
 
        * tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Fix
index da19e8d3d3515dbe047c54f54981eb19e653fac2..3a9479afb4cc416b908203d9004fa6483d19c17c 100644 (file)
@@ -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;