Fix indentation issues seen by -Wmisleading-indentation
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 5 May 2015 19:41:11 +0000 (19:41 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 5 May 2015 19:41:11 +0000 (19:41 +0000)
gcc/ChangeLog:
* auto-profile.c (afdo_find_equiv_class): Fix indentation so
that it reflects the block structure.
(afdo_propagate_edge): Likewise.
(afdo_calculate_branch_prob): Likewise.
(afdo_annotate_cfg): Likewise.
* cfgcleanup.c (equal_different_set_p): Likewise.
(try_crossjump_to_edge): Likewise.
* cgraph.c (cgraph_node::verify_node): Likewise.
* cgraphunit.c (expand_all_functions): Likewise.
* config/i386/i386.c (ix86_expand_copysign): Likewise.
(exact_dependency_1): Likewise.
* dwarf2asm.c (dw2_output_indirect_constants): Likewise.
* dwarf2out.c (tree_add_const_value_attribute_for_decl): Likewise.
* gensupport.c (process_define_subst): Likewise.
* lto-wrapper.c (merge_and_complain): Likewise.
* tree-if-conv.c (if_convertible_bb_p): Likewise.
* tree-ssa-loop-prefetch.c (find_or_create_group): Likewise.
* tree-ssa-tail-merge.c (gsi_advance_fw_nondebug_nonlocal): Likewise.
* tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
* tree-vect-loop.c (vectorizable_reduction): Likewise.
* tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
* tree-vect-stmts.c (vectorizable_shift): Likewise.
* tree-vrp.c (vrp_finalize): Likewise.
* tree.c (variably_modified_type_p): Likewise.

gcc/cp/ChangeLog:
* parser.c (cp_parser_asm_definition): Only test for
        error_mark_node if "outputs" was just set.
(cp_parser_asm_definition): Likewise for "inputs".

gcc/fortran/ChangeLog:
* expr.c (check_inquiry): Fix indentation so that it reflects the
block structure.
* interface.c (compare_parameter): Likewise.
* parse.c (parse_oacc_structured_block): Likewise.
* target-memory.c (expr_to_char): Likewise.
* trans-types.c (gfc_init_kinds): Likewise.

libcpp/ChangeLog:
* pch.c (cpp_valid_state): Fix indentation so that it reflects the
block structure.

From-SVN: r222823

29 files changed:
gcc/ChangeLog
gcc/auto-profile.c
gcc/cfgcleanup.c
gcc/cgraph.c
gcc/cgraphunit.c
gcc/config/i386/i386.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/dwarf2asm.c
gcc/dwarf2out.c
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/interface.c
gcc/fortran/parse.c
gcc/fortran/target-memory.c
gcc/fortran/trans-types.c
gcc/gensupport.c
gcc/lto-wrapper.c
gcc/tree-if-conv.c
gcc/tree-ssa-loop-prefetch.c
gcc/tree-ssa-tail-merge.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c
gcc/tree-vrp.c
gcc/tree.c
libcpp/ChangeLog
libcpp/pch.c

index cb15b529a2cb81c624e11d4456c1ff6ece4203eb..3e67699fb338b281819f789ba08d137f8cbcafa3 100644 (file)
@@ -1,3 +1,30 @@
+2015-05-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * auto-profile.c (afdo_find_equiv_class): Fix indentation so
+       that it reflects the block structure.
+       (afdo_propagate_edge): Likewise.
+       (afdo_calculate_branch_prob): Likewise.
+       (afdo_annotate_cfg): Likewise.
+       * cfgcleanup.c (equal_different_set_p): Likewise.
+       (try_crossjump_to_edge): Likewise.
+       * cgraph.c (cgraph_node::verify_node): Likewise.
+       * cgraphunit.c (expand_all_functions): Likewise.
+       * config/i386/i386.c (ix86_expand_copysign): Likewise.
+       (exact_dependency_1): Likewise.
+       * dwarf2asm.c (dw2_output_indirect_constants): Likewise.
+       * dwarf2out.c (tree_add_const_value_attribute_for_decl): Likewise.
+       * gensupport.c (process_define_subst): Likewise.
+       * lto-wrapper.c (merge_and_complain): Likewise.
+       * tree-if-conv.c (if_convertible_bb_p): Likewise.
+       * tree-ssa-loop-prefetch.c (find_or_create_group): Likewise.
+       * tree-ssa-tail-merge.c (gsi_advance_fw_nondebug_nonlocal): Likewise.
+       * tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
+       * tree-vect-loop.c (vectorizable_reduction): Likewise.
+       * tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
+       * tree-vect-stmts.c (vectorizable_shift): Likewise.
+       * tree-vrp.c (vrp_finalize): Likewise.
+       * tree.c (variably_modified_type_p): Likewise.
+
 2015-05-05  Jack Howarth  <howarth.at.gcc@gmail.com>
 
        * config.gcc: Use darwin9.h, darwin10.h and darwin12.h
index ba2d5ab654e633ac63f88d565d19c6c29851df3a..55dd8d18483ce441d5d50f0ca744d0cb51963699 100644 (file)
@@ -1143,28 +1143,28 @@ afdo_find_equiv_class (bb_set *annotated_bb)
     bb->aux = bb;
     dom_bbs = get_dominated_by (CDI_DOMINATORS, bb);
     FOR_EACH_VEC_ELT (dom_bbs, i, bb1)
-    if (bb1->aux == NULL && dominated_by_p (CDI_POST_DOMINATORS, bb, bb1)
-        && bb1->loop_father == bb->loop_father)
-      {
-        bb1->aux = bb;
-        if (bb1->count > bb->count && is_bb_annotated (bb1, *annotated_bb))
-          {
-            bb->count = bb1->count;
-            set_bb_annotated (bb, annotated_bb);
-          }
-      }
+      if (bb1->aux == NULL && dominated_by_p (CDI_POST_DOMINATORS, bb, bb1)
+         && bb1->loop_father == bb->loop_father)
+       {
+         bb1->aux = bb;
+         if (bb1->count > bb->count && is_bb_annotated (bb1, *annotated_bb))
+           {
+             bb->count = bb1->count;
+             set_bb_annotated (bb, annotated_bb);
+           }
+       }
     dom_bbs = get_dominated_by (CDI_POST_DOMINATORS, bb);
     FOR_EACH_VEC_ELT (dom_bbs, i, bb1)
-    if (bb1->aux == NULL && dominated_by_p (CDI_DOMINATORS, bb, bb1)
-        && bb1->loop_father == bb->loop_father)
-      {
-        bb1->aux = bb;
-        if (bb1->count > bb->count && is_bb_annotated (bb1, *annotated_bb))
-          {
-            bb->count = bb1->count;
-            set_bb_annotated (bb, annotated_bb);
-          }
-      }
+      if (bb1->aux == NULL && dominated_by_p (CDI_DOMINATORS, bb, bb1)
+         && bb1->loop_father == bb->loop_father)
+       {
+         bb1->aux = bb;
+         if (bb1->count > bb->count && is_bb_annotated (bb1, *annotated_bb))
+           {
+             bb->count = bb1->count;
+             set_bb_annotated (bb, annotated_bb);
+           }
+       }
   }
 }
 
@@ -1191,10 +1191,10 @@ afdo_propagate_edge (bool is_succ, bb_set *annotated_bb,
     gcov_type total_known_count = 0;
 
     FOR_EACH_EDGE (e, ei, is_succ ? bb->succs : bb->preds)
-    if (!is_edge_annotated (e, *annotated_edge))
-      num_unknown_edge++, unknown_edge = e;
-    else
-      total_known_count += e->count;
+      if (!is_edge_annotated (e, *annotated_edge))
+       num_unknown_edge++, unknown_edge = e;
+      else
+       total_known_count += e->count;
 
     if (num_unknown_edge == 0)
       {
@@ -1404,7 +1404,7 @@ afdo_calculate_branch_prob (bb_set *annotated_bb, edge_set *annotated_edge)
     edge_iterator ei;
 
     FOR_EACH_EDGE (e, ei, bb->succs)
-    e->count = (double)bb->count * e->probability / REG_BR_PROB_BASE;
+      e->count = (double)bb->count * e->probability / REG_BR_PROB_BASE;
     bb->aux = NULL;
   }
 
@@ -1502,7 +1502,7 @@ afdo_annotate_cfg (const stmt_set &promoted_stmts)
 
     bb->count = 0;
     FOR_EACH_EDGE (e, ei, bb->succs)
-    e->count = 0;
+      e->count = 0;
 
     if (afdo_set_bb_count (bb, promoted_stmts))
       set_bb_annotated (bb, &annotated_bb);
index 477b6da2e81621db4a4ac7e9ec8b397378ecdaea..797d14ada5c96ebbbb2e9e3985024686f707d2c6 100644 (file)
@@ -1032,7 +1032,7 @@ equal_different_set_p (rtx p1, rtx s1, rtx p2, rtx s2)
           ? rtx_renumbered_equal_p (e1, e2) : rtx_equal_p (e1, e2))
         continue;
 
-        return false;
+      return false;
     }
 
   return true;
@@ -2039,7 +2039,7 @@ try_crossjump_to_edge (int mode, edge e1, edge e2,
      If we have tablejumps in the end of SRC1 and SRC2
      they have been already compared for equivalence in outgoing_edges_match ()
      so replace the references to TABLE1 by references to TABLE2.  */
-    {
+  {
       rtx label1, label2;
       rtx_jump_table_data *table1, *table2;
 
@@ -2059,7 +2059,7 @@ try_crossjump_to_edge (int mode, edge e1, edge e2,
                replace_label_in_insn (insn, label1, label2, true);
            }
        }
-    }
+  }
 
   /* Avoid splitting if possible.  We must always split when SRC2 has
      EH predecessor edges, or we may end up with basic blocks with both
index 85531c8d0b6d4fa3c3f8abe016e09bb3ff8cec3f..7f83cccc4036b6cce2886ef15bf8026b710a1f12 100644 (file)
@@ -2955,11 +2955,11 @@ cgraph_node::verify_node (void)
          }
        else
          ref_found = true;
-       if (!ref_found)
-         {
-           error ("Analyzed alias has no reference");
-           error_found = true;
-         }
+      if (!ref_found)
+       {
+         error ("Analyzed alias has no reference");
+         error_found = true;
+       }
     }
 
   /* Check instrumented version reference.  */
index 0a50f61a384e2a939f024a66562c3373e4074de1..757f03d281bde0c772d5a7c8646527f198c86a67 100644 (file)
@@ -2019,14 +2019,14 @@ expand_all_functions (void)
 
       if (node->process)
        {
-     expanded_func_count++;
-     if(node->tp_first_run)
-       profiled_func_count++;
-
-    if (symtab->dump_file)
-         fprintf (symtab->dump_file,
-                  "Time profile order in expand_all_functions:%s:%d\n",
-                  node->asm_name (), node->tp_first_run);
+         expanded_func_count++;
+         if(node->tp_first_run)
+           profiled_func_count++;
+
+         if (symtab->dump_file)
+           fprintf (symtab->dump_file,
+                    "Time profile order in expand_all_functions:%s:%d\n",
+                    node->asm_name (), node->tp_first_run);
          node->process = 0;
          node->expand ();
        }
index 59db199809baebb71441071cecc281b7c4d7ff5d..627ef6537ddd49461a32c88b919f136179a723e3 100644 (file)
@@ -19606,7 +19606,7 @@ ix86_expand_copysign (rtx operands[])
       else
        copysign_insn = gen_copysigntf3_const;
 
-       emit_insn (copysign_insn (dest, op0, op1, mask));
+      emit_insn (copysign_insn (dest, op0, op1, mask));
     }
   else
     {
@@ -26110,7 +26110,7 @@ exact_dependency_1 (rtx addr, rtx insn)
          for (j = 0; j < XVECLEN (insn, i); j++)
            if (exact_dependency_1 (addr, XVECEXP (insn, i, j)))
              return true;
-           break;
+         break;
        }
     }
   return false;
index bd9f2f32776c13021ee0711331490b000e2fe01a..17c2d1d9887936e7bde58aea4eafa0221487075b 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * parser.c (cp_parser_asm_definition): Only test for
+        error_mark_node if "outputs" was just set.  Likewise for "inputs".
+
 2015-05-04  Paolo Carlini  <paolo.carlini@oracle.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index cfb512be8e745cff6c0b670d5f5edb5f64c36a52..30a3fabbb986ef180e1bf453b530ea912b14198f 100644 (file)
@@ -16747,10 +16747,11 @@ cp_parser_asm_definition (cp_parser* parser)
              && cp_lexer_next_token_is_not (parser->lexer,
                                             CPP_CLOSE_PAREN)
              && !goto_p)
-           outputs = cp_parser_asm_operand_list (parser);
-
-           if (outputs == error_mark_node)
-             invalid_outputs_p = true;
+            {
+              outputs = cp_parser_asm_operand_list (parser);
+              if (outputs == error_mark_node)
+                invalid_outputs_p = true;
+            }
        }
       /* If the next token is `::', there are no outputs, and the
         next token is the beginning of the inputs.  */
@@ -16771,10 +16772,11 @@ cp_parser_asm_definition (cp_parser* parser)
                                             CPP_SCOPE)
              && cp_lexer_next_token_is_not (parser->lexer,
                                             CPP_CLOSE_PAREN))
-           inputs = cp_parser_asm_operand_list (parser);
-
-           if (inputs == error_mark_node)
-             invalid_inputs_p = true;
+            {
+              inputs = cp_parser_asm_operand_list (parser);
+              if (inputs == error_mark_node)
+                invalid_inputs_p = true;
+            }
        }
       else if (cp_lexer_next_token_is (parser->lexer, CPP_SCOPE))
        /* The clobbers are coming next.  */
index b817aaf5027f429217b37fca6b4d8c4763488bd1..ba1b543b8069fcbc13ac12bd0b102fbf975bc04a 100644 (file)
@@ -931,9 +931,9 @@ dw2_output_indirect_constants (void)
        iter != indirect_pool->end (); ++iter)
     temp.quick_push (*iter);
 
-    temp.qsort (compare_strings);
+  temp.qsort (compare_strings);
 
-    for (unsigned int i = 0; i < temp.length (); i++)
+  for (unsigned int i = 0; i < temp.length (); i++)
     dw2_output_indirect_constant_1 (temp[i].first, temp[i].second);
 }
 
index 8d5c062a315c5f8b7c70cdc8b2517aa14c5e0562..ddca2a83df4cfa995962836fb503dc0cce9bdbd6 100644 (file)
@@ -16319,12 +16319,12 @@ tree_add_const_value_attribute_for_decl (dw_die_ref var_die, tree decl)
          && !TREE_STATIC (decl)))
     return false;
 
-    if (TREE_READONLY (decl)
-       && ! TREE_THIS_VOLATILE (decl)
-       && DECL_INITIAL (decl))
-      /* OK */;
-    else
-      return false;
+  if (TREE_READONLY (decl)
+      && ! TREE_THIS_VOLATILE (decl)
+      && DECL_INITIAL (decl))
+    /* OK */;
+  else
+    return false;
 
   /* Don't add DW_AT_const_value if abstract origin already has one.  */
   if (get_AT (var_die, DW_AT_const_value))
index f98c2fb26e487d21c0c7b14e3c0bd3e62024ca2f..67f9e097e47b86b0d38637a4756490a472c607c0 100644 (file)
@@ -1,3 +1,12 @@
+2015-05-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * expr.c (check_inquiry): Fix indentation so that it reflects the
+       block structure.
+       * interface.c (compare_parameter): Likewise.
+       * parse.c (parse_oacc_structured_block): Likewise.
+       * target-memory.c (expr_to_char): Likewise.
+       * trans-types.c (gfc_init_kinds): Likewise.
+
 2015-05-02  Steven G. Kargl  <kargl@gcc.gnu.org>
 
        PR fortran/65976
index 7f3a59d1d86cd2cd1e61646db5c116b0c034022f..c34be9079b9026c42e77ac5738b4734d94149080 100644 (file)
@@ -2297,8 +2297,8 @@ check_inquiry (gfc_expr *e, int not_restricted)
        if (strcmp (functions[i], name) == 0)
          break;
 
-       if (functions[i] == NULL)
-         return MATCH_ERROR;
+      if (functions[i] == NULL)
+       return MATCH_ERROR;
     }
 
   /* At this point we have an inquiry function with a variable argument.  The
index d4c26292feee3fd67404754d968a75c5040fd284..0501c1d15438d955e6e709bdb96d0bbc7b6e69cc 100644 (file)
@@ -2180,7 +2180,7 @@ compare_parameter (gfc_symbol *formal, gfc_expr *actual,
            gfc_error ("Passing coarray at %L to allocatable, noncoarray, "
                       "INTENT(OUT) dummy argument %qs", &actual->where,
                       formal->name);
-           return 0;
+         return 0;
        }
       else if (warn_surprising && where && formal->attr.intent != INTENT_IN)
        gfc_warning (OPT_Wsurprising,
index 2c7c554d367e63618625c68777329ce4ec5419fe..30e4eabc557f9c267cf1db7bf0cd5f0d1ea72fa8 100644 (file)
@@ -4283,7 +4283,7 @@ parse_oacc_structured_block (gfc_statement acc_st)
        unexpected_eof ();
       else if (st != acc_end_st)
        gfc_error ("Expecting %s at %C", gfc_ascii_statement (acc_end_st));
-       reject_statement ();
+      reject_statement ();
     }
   while (st != acc_end_st);
 
index 4d636368d565b231d60d1820d2c2c864e9541153..187682acf3403abcbcdc82cb24858c43776f84df 100644 (file)
@@ -671,8 +671,8 @@ expr_to_char (gfc_expr *e, unsigned char *data, unsigned char *chk, size_t len)
          gcc_assert (cmp && cmp->backend_decl);
          if (!c->expr)
            continue;
-           ptr = TREE_INT_CST_LOW(DECL_FIELD_OFFSET(cmp->backend_decl))
-                       + TREE_INT_CST_LOW(DECL_FIELD_BIT_OFFSET(cmp->backend_decl))/8;
+         ptr = TREE_INT_CST_LOW(DECL_FIELD_OFFSET(cmp->backend_decl))
+           + TREE_INT_CST_LOW(DECL_FIELD_BIT_OFFSET(cmp->backend_decl))/8;
          expr_to_char (c->expr, &data[ptr], &chk[ptr], len);
        }
       return len;
index 25334785b875d949d7c1e8cb31a0c9293ce30a19..c8be256f0d018aacddd9137ce811c3ad4ce869f6 100644 (file)
@@ -438,10 +438,10 @@ gfc_init_kinds (void)
       /* Only let float, double, long double and __float128 go through.
         Runtime support for others is not provided, so they would be
         useless.  */
-       if (!targetm.libgcc_floating_mode_supported_p ((machine_mode)
+      if (!targetm.libgcc_floating_mode_supported_p ((machine_mode)
                                                       mode))
-         continue;
-       if (mode != TYPE_MODE (float_type_node)
+       continue;
+      if (mode != TYPE_MODE (float_type_node)
            && (mode != TYPE_MODE (double_type_node))
            && (mode != TYPE_MODE (long_double_type_node))
 #if defined(HAVE_TFmode) && defined(ENABLE_LIBQUADMATH_SUPPORT)
@@ -587,7 +587,7 @@ gfc_init_kinds (void)
        gfc_fatal_error ("REAL(KIND=4) is not available for "
                         "%<-freal-8-real-4%> option");
 
-       gfc_default_double_kind = 4;
+      gfc_default_double_kind = 4;
     }
   else if (flag_real8_kind == 10 )
     {
@@ -595,7 +595,7 @@ gfc_init_kinds (void)
        gfc_fatal_error ("REAL(KIND=10) is not available for "
                         "%<-freal-8-real-10%> option");
 
-       gfc_default_double_kind = 10;
+      gfc_default_double_kind = 10;
     }
   else if (flag_real8_kind == 16 )
     {
@@ -603,7 +603,7 @@ gfc_init_kinds (void)
        gfc_fatal_error ("REAL(KIND=10) is not available for "
                         "%<-freal-8-real-16%> option");
 
-       gfc_default_double_kind = 16;
+      gfc_default_double_kind = 16;
     }
   else if (saw_r4 && saw_r8)
     gfc_default_double_kind = 8;
index 77a72865e7caca9fb63c90067b876914b867fab1..bda01fa04f5b399e4f34acc0dd79bb4bfde2a324 100644 (file)
@@ -2227,11 +2227,12 @@ process_define_subst (void)
        if (strcmp (XSTR (elem->data, 0), XSTR (elem_attr->data, 1)) == 0)
            goto found;
 
-       error_with_line (elem->lineno,
-                        "%s: `define_subst' must have at least one "
-                        "corresponding `define_subst_attr'",
-                        XSTR (elem->data, 0));
-       return;
+      error_with_line (elem->lineno,
+                      "%s: `define_subst' must have at least one "
+                      "corresponding `define_subst_attr'",
+                      XSTR (elem->data, 0));
+      return;
+
       found:
        continue;
     }
index aa51476d2bc0059ca1b18a391320ce7a86e1f61c..11bf9ad063913518326eaec429eb236f796024a8 100644 (file)
@@ -303,13 +303,13 @@ merge_and_complain (struct cl_decoded_option **decoded_options,
          for (j = 0; j < *decoded_options_count; ++j)
            if ((*decoded_options)[j].opt_index == foption->opt_index)
              break;
-           if (j == *decoded_options_count)
-             append_option (decoded_options, decoded_options_count, foption);
-           else if (foption->value != (*decoded_options)[j].value)
-             fatal_error (input_location,
-                          "Option %s not used consistently in all LTO input"
-                          " files", foption->orig_option_with_args_text);
-           break;
+         if (j == *decoded_options_count)
+           append_option (decoded_options, decoded_options_count, foption);
+         else if (foption->value != (*decoded_options)[j].value)
+           fatal_error (input_location,
+                        "Option %s not used consistently in all LTO input"
+                        " files", foption->orig_option_with_args_text);
+         break;
 
        case OPT_O:
        case OPT_Ofast:
index 400ee01a5122c0c74b21a9b100f36b2951e45a46..49ff4588f12c08bd6af6699f4a0c27c295aa49dd 100644 (file)
@@ -1087,7 +1087,7 @@ if_convertible_bb_p (struct loop *loop, basic_block bb, basic_block exit_bb)
     {
       if (dump_file && (dump_flags & TDF_DETAILS))
        fprintf (dump_file, "only critical predecessors\n");
-       return false;
+      return false;
     }
 
   return true;
index 10e156e997f3ebbcbfc49c03e95cee7ed43f6c19..a948d6842e3d00c6a9db1b8391b3904ecfb7f352 100644 (file)
@@ -368,8 +368,8 @@ find_or_create_group (struct mem_ref_group **groups, tree base, tree step)
 
       /* If step is an integer constant, keep the list of groups sorted
          by decreasing step.  */
-        if (cst_and_fits_in_hwi ((*groups)->step) && cst_and_fits_in_hwi (step)
-            && int_cst_value ((*groups)->step) < int_cst_value (step))
+      if (cst_and_fits_in_hwi ((*groups)->step) && cst_and_fits_in_hwi (step)
+         && int_cst_value ((*groups)->step) < int_cst_value (step))
        break;
     }
 
index 4afe94e509dfd6c93e9d039856677e794464d5ce..ee6e7b22c322aa71d9284e2d8955c7044a35e01e 100644 (file)
@@ -379,7 +379,7 @@ gsi_advance_fw_nondebug_nonlocal (gimple_stmt_iterator *gsi)
       stmt = gsi_stmt (*gsi);
       if (!stmt_local_def (stmt))
        return;
-       gsi_next_nondebug (gsi);
+      gsi_next_nondebug (gsi);
     }
 }
 
index ccb1f620c2d09e0c394dab80a97b7c728052af5e..0992d6ce1d76a45f7b9236576c8f1b7d5a957c19 100644 (file)
@@ -5028,7 +5028,7 @@ vect_grouped_load_supported (tree vectype, unsigned HOST_WIDE_INT count)
                    dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
                                     "shuffle of 3 loads is not supported by"
                                     " target\n");
-                   return false;
+                 return false;
                }
              for (i = 0, j = 0; i < nelt; i++)
                if (3 * i + k < 2 * nelt)
index 88ef251e91aa7045029f9253c42ac417480c8a30..49bf518a5c5701a38117c126ecb3786e1753b841 100644 (file)
@@ -5057,7 +5057,7 @@ vectorizable_reduction (gimple stmt, gimple_stmt_iterator *gsi,
            dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
                             "unsupported condition in reduction\n");
 
-            return false;
+         return false;
         }
     }
   else
index 2b8f9bde5ae9d062bbcb031feae55e92fc8d7336..d41aa10a81eb8a50d80515039f1943fb6c068a34 100644 (file)
@@ -3179,7 +3179,7 @@ vect_transform_slp_perm_load (slp_tree node, vec<tree> dr_chain,
      we need the second and the third vectors: {b1,c1,a2,b2} and
      {c2,a3,b3,c3}.  */
 
-    {
+  {
       scalar_index = 0;
       index = 0;
       vect_stmts_counter = 0;
index 2ce6d4d7c2510e7a5cfe2207e1ae883b8a42a681..31f26e794e6c6447c8120560c9d3ff3cf16f1bb4 100644 (file)
@@ -4437,7 +4437,7 @@ vectorizable_shift (gimple stmt, gimple_stmt_iterator *gsi,
                         dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
                                          "unusable type for last operand in"
                                          " vector/vector shift/rotate.\n");
-                       return false;
+                     return false;
                    }
                  if (vec_stmt && !slp_node)
                    {
index 0ade55c0b54380ef9a02a5fcc857716ee362b9f8..6744a91f6e9844bc410b4c76efd72ba1047bec74 100644 (file)
@@ -10266,12 +10266,12 @@ vrp_finalize (void)
          || (vr_value[i]->type == VR_UNDEFINED))
        continue;
 
-       if ((TREE_CODE (vr_value[i]->min) == INTEGER_CST)
-           && (TREE_CODE (vr_value[i]->max) == INTEGER_CST)
-           && (vr_value[i]->type == VR_RANGE
-               || vr_value[i]->type == VR_ANTI_RANGE))
-         set_range_info (name, vr_value[i]->type, vr_value[i]->min,
-                         vr_value[i]->max);
+      if ((TREE_CODE (vr_value[i]->min) == INTEGER_CST)
+         && (TREE_CODE (vr_value[i]->max) == INTEGER_CST)
+         && (vr_value[i]->type == VR_RANGE
+             || vr_value[i]->type == VR_ANTI_RANGE))
+       set_range_info (name, vr_value[i]->type, vr_value[i]->min,
+                       vr_value[i]->max);
       }
 
   /* Free allocated memory.  */
index c9e78ddc23028f5fd6adaab3d5d6e28f9f87c299..7ac11a942d068b29ca69798b71c3f8104cb0fcf2 100644 (file)
@@ -8948,7 +8948,7 @@ variably_modified_type_p (tree type, tree fn)
            if (TREE_CODE (type) == QUAL_UNION_TYPE)
              RETURN_TRUE_IF_VAR (DECL_QUALIFIER (t));
          }
-       break;
+      break;
 
     case ARRAY_TYPE:
       /* Do not call ourselves to avoid infinite recursion.  This is
index ba386de280720baa7274ab584b7d42c9dc0c0f27..6a2e0fb6f72238e795faece374c7ff726e76091b 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * pch.c (cpp_valid_state): Fix indentation so that it reflects the
+       block structure.
+
 2015-05-05  David Malcolm  <dmalcolm@redhat.com>
 
        * include/line-map.h: Fix comment at the top of the file.
index eb2d30b728484a0e162aa8bd6b60660667b07aff..ed59565761a6186397874e8990ffe301c80d7bff 100644 (file)
@@ -713,7 +713,7 @@ cpp_valid_state (cpp_reader *r, const char *name, int fd)
        cpp_warning_syshdr (r, CPP_W_INVALID_PCH,
                            "%s: not used because `__COUNTER__' is invalid",
                            name);
-       goto fail;
+      goto fail;
     }
 
   /* We win!  */