spellcheck-tree.c (test_find_closest_identifier): Use ; instead of ;;.
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Nov 2017 22:47:51 +0000 (23:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Nov 2017 22:47:51 +0000 (23:47 +0100)
* spellcheck-tree.c (test_find_closest_identifier): Use ; instead
of ;;.
* gengtype-state.c (read_state_pair): Likewise.
* gimple-fold.c (gimple_fold_builtin_string_compare): Likewise.
* sel-sched-dump.c (dump_insn_rtx_1): Likewise.
* ipa-cp.c (intersect_aggregates_with_edge): Likewise.
* ifcvt.c (noce_try_store_flag_constants): Likewise.
* tree-ssa-ccp.c (ccp_finalize): Likewise.
* omp-grid.c (grid_process_kernel_body_copy): Likewise.
* builtins.c (fold_builtin_3): Likewise.
* graphite-scop-detection.c
(scop_detection::stmt_has_simple_data_refs_p): Likewise.
* hsa-gen.c (hsa_function_representation::hsa_function_representation):
Likewise.
c/
* c-parser.c (c_parser_postfix_expression): Use ; instead of ;;.
jit/
* jit-recording.c
(recording::memento_of_new_rvalue_from_const <long>::write_reproducer):
Use ; instead of ;;.
lto/
* lto.c (create_subid_section_table): Use ; instead of ;;.
objc/
* objc-next-runtime-abi-01.c (generate_dispatch_table): Use ; instead
of ;;.

From-SVN: r255284

20 files changed:
gcc/ChangeLog
gcc/builtins.c
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/gengtype-state.c
gcc/gimple-fold.c
gcc/graphite-scop-detection.c
gcc/hsa-gen.c
gcc/ifcvt.c
gcc/ipa-cp.c
gcc/jit/ChangeLog
gcc/jit/jit-recording.c
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/objc/ChangeLog
gcc/objc/objc-next-runtime-abi-01.c
gcc/omp-grid.c
gcc/sel-sched-dump.c
gcc/spellcheck-tree.c
gcc/tree-ssa-ccp.c

index 227396abe64ff252865110a26d3777d65d393ca6..6a42a25a24e6d0b85fbe742ca4b59b819e21e407 100644 (file)
@@ -1,3 +1,20 @@
+2017-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * spellcheck-tree.c (test_find_closest_identifier): Use ; instead
+       of ;;.
+       * gengtype-state.c (read_state_pair): Likewise.
+       * gimple-fold.c (gimple_fold_builtin_string_compare): Likewise.
+       * sel-sched-dump.c (dump_insn_rtx_1): Likewise.
+       * ipa-cp.c (intersect_aggregates_with_edge): Likewise.
+       * ifcvt.c (noce_try_store_flag_constants): Likewise.
+       * tree-ssa-ccp.c (ccp_finalize): Likewise.
+       * omp-grid.c (grid_process_kernel_body_copy): Likewise.
+       * builtins.c (fold_builtin_3): Likewise.
+       * graphite-scop-detection.c
+       (scop_detection::stmt_has_simple_data_refs_p): Likewise.
+       * hsa-gen.c (hsa_function_representation::hsa_function_representation):
+       Likewise.
+
 2017-12-01  Maxim Ostapenko  <m.ostapenko@samsung.com>
 
        PR sanitizer/81697
index afc975e6deed1d729077236a24f556a77ae570b1..097e1b7356380a869233d182ed48f00cfd7fc1e3 100644 (file)
@@ -9088,7 +9088,7 @@ fold_builtin_3 (location_t loc, tree fndecl,
     break;
 
     case BUILT_IN_MEMCMP:
-      return fold_builtin_memcmp (loc, arg0, arg1, arg2);;
+      return fold_builtin_memcmp (loc, arg0, arg1, arg2);
 
     case BUILT_IN_EXPECT:
       return fold_builtin_expect (loc, arg0, arg1, arg2);
index 2c363483bb1da0692a6bb4abdf5ff442d1254aca..677b54cbfaebbd8e1f7fc57f8d61feff5193b10b 100644 (file)
@@ -1,3 +1,7 @@
+2017-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-parser.c (c_parser_postfix_expression): Use ; instead of ;;.
+
 2017-11-28  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/81275
index 4da24a64cd1a8535213c1ae50677c586ff2ac71e..755cd2b434194070d340c14b6cde35a0cb45f183 100644 (file)
@@ -7763,7 +7763,7 @@ c_parser_postfix_expression (c_parser *parser)
 {
   struct c_expr expr, e1;
   struct c_type_name *t1, *t2;
-  location_t loc = c_parser_peek_token (parser)->location;;
+  location_t loc = c_parser_peek_token (parser)->location;
   source_range tok_range = c_parser_peek_token (parser)->get_range ();
   expr.original_code = ERROR_MARK;
   expr.original_type = NULL;
index 2f27c42b04267f4fdb1246965fdee6e3e0675373..bae5a2e1b5f8014c7604787a98d0e1215ed12e88 100644 (file)
@@ -2206,7 +2206,7 @@ read_state_pair (pair_p *current)
          next_state_tokens (1);
          read_state_type (&((*current)->type));
          read_state_fileloc (&((*current)->line));
-         read_state_options (&((*current)->opt));;
+         read_state_options (&((*current)->opt));
          t0 = peek_state_token (0);
          if (state_token_kind (t0) == STOK_RIGHTPAR)
            {
index 849b62fa903d8c2fc45a5d822fc35fd42d2d4390..05a930e98f8453dfb03780c3198afec1e9addef2 100644 (file)
@@ -2145,7 +2145,7 @@ gimple_fold_builtin_string_compare (gimple_stmt_iterator *gsi)
            r = strncmp (p1, p2, length);
            if (r == 0)
              known_result = true;
-           break;;
+           break;
          }
        default:
          gcc_unreachable ();
index dd273a40f86539152e8cbd5ff573bb68221b62e4..0f09c1359dd28416cd7680db5cff971c9d6d2b21 100644 (file)
@@ -1005,7 +1005,7 @@ scop_detection::graphite_can_represent_expr (sese_l scop, loop_p loop,
 bool
 scop_detection::stmt_has_simple_data_refs_p (sese_l scop, gimple *stmt)
 {
-  edge nest = scop.entry;;
+  edge nest = scop.entry;
   loop_p loop = loop_containing_stmt (stmt);
   if (!loop_in_sese_p (loop, scop))
     loop = NULL;
index f0efd9dd6d924159974a4a10dbbd06ce459ee41a..70f715ec8fe24ea27505cf8d730588424a566eb0 100644 (file)
@@ -211,7 +211,7 @@ hsa_function_representation::hsa_function_representation
     m_seen_error (false), m_temp_symbol_count (0), m_ssa_map (),
     m_modified_cfg (modified_cfg)
 {
-  int sym_init_len = (vec_safe_length (cfun->local_decls) / 2) + 1;;
+  int sym_init_len = (vec_safe_length (cfun->local_decls) / 2) + 1;
   m_local_symbols = new hash_table <hsa_noop_symbol_hasher> (sym_init_len);
   m_ssa_map.safe_grow_cleared (ssa_names_count);
 }
index 72bab82491f48ad7f054f0931ac22751d881302c..91360d806153d9d6cd75b31038162b131521a859 100644 (file)
@@ -1287,7 +1287,7 @@ noce_try_store_flag_constants (struct noce_if_info *if_info)
   HOST_WIDE_INT itrue, ifalse, diff, tmp;
   int normalize;
   bool can_reverse;
-  machine_mode mode = GET_MODE (if_info->x);;
+  machine_mode mode = GET_MODE (if_info->x);
   rtx common = NULL_RTX;
 
   rtx a = if_info->a;
index aa9e300d37830cb24592f47ff97af7424ac1fa73..144762cf5e25a3a66c6fd09cbe1840321ae63a7f 100644 (file)
@@ -4192,7 +4192,7 @@ intersect_aggregates_with_edge (struct cgraph_edge *cs, int index,
        }
       else
        {
-         src_plats = ipa_get_parm_lattices (caller_info, src_idx);;
+         src_plats = ipa_get_parm_lattices (caller_info, src_idx);
          /* Currently we do not produce clobber aggregate jump
             functions, adjust when we do.  */
          gcc_checking_assert (!src_plats->aggs || !jfunc->agg.items);
@@ -4214,7 +4214,7 @@ intersect_aggregates_with_edge (struct cgraph_edge *cs, int index,
        FOR_EACH_VEC_ELT (inter, k, item)
          {
            int l = 0;
-           bool found = false;;
+           bool found = false;
 
            if (!item->value)
              continue;
index afa53791d798274941b2ab3f6024320bb11a1cf5..7be5c47f01d6f9aaf0c8e339b36e9459497fa24c 100644 (file)
@@ -1,3 +1,9 @@
+2017-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * jit-recording.c
+       (recording::memento_of_new_rvalue_from_const <long>::write_reproducer):
+       Use ; instead of ;;.
+
 2017-11-28  Jakub Jelinek  <jakub@redhat.com>
 
        * jit-playback.c (add_switch): Build SWITCH_EXPR using build2 instead
index bd8f11658b11b44af30bcbc996f18494b0c302b8..fb492c09142ffbfd511a8a7b57ee6d18b28eb204 100644 (file)
@@ -4487,7 +4487,7 @@ recording::memento_of_new_rvalue_from_const <long>::write_reproducer (reproducer
               id,
               r.get_identifier (get_context ()),
               r.get_identifier_as_type (m_type),
-              m_value + 1);;
+              m_value + 1);
       return;
     }
 
index ed55a5f547be5996e45eaa3b0e7a07385673e7fc..7d997e4f9ff539f07a403c48760901236cbc7385 100644 (file)
@@ -1,3 +1,7 @@
+2017-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * lto.c (create_subid_section_table): Use ; instead of ;;.
+
 2017-11-22  Marek Polacek  <polacek@redhat.com>
 
        PR c++/60336
index 748ef02143c129f73706fb99f1b7787eb24e4165..ae9bae84016d0a7e835f688bec2f157cb593db05 100644 (file)
@@ -1989,7 +1989,7 @@ create_subid_section_table (struct lto_section_slot *ls, splay_tree file_ids,
       file_data = ggc_alloc<lto_file_decl_data> ();
       memset(file_data, 0, sizeof (struct lto_file_decl_data));
       file_data->id = id;
-      file_data->section_hash_table = lto_obj_create_section_hash_table ();;
+      file_data->section_hash_table = lto_obj_create_section_hash_table ();
       lto_splay_tree_insert (file_ids, id, file_data);
 
       /* Maintain list in linker order */
index f87294be8f50abfc3cb09cd82b096e07edd2e604..39d0223ca0e84ce5836850fc38a91e36dbb56d08 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * objc-next-runtime-abi-01.c (generate_dispatch_table): Use ; instead
+       of ;;.
+
 2017-11-10  Martin Sebor  <msebor@redhat.com>
 
        PR c/81117
index 686d9285482cd6a70efd13d6ea5d681826067874..8c52afb2704c6673fb34c59c3dc3ec48070b0beb 100644 (file)
@@ -1662,7 +1662,7 @@ generate_dispatch_table (tree chain, const char *name, tree attr)
 {
   tree decl, method_list_template, initlist;
   vec<constructor_elt, va_gc> *v = NULL;
-  int size;;
+  int size;
 
   if (!chain || !name || !(size = list_length (chain)))
     return NULL_TREE;
index 121c96ebe396b1ffe416181e5a05929bfe1d9646..7314126f8e3c233beae0333e77730ef2c9c02235 100644 (file)
@@ -1237,7 +1237,7 @@ grid_process_kernel_body_copy (grid_prop *grid, gimple_seq seq,
 
       if (gimple_omp_for_combined_p (inner_loop))
        grid_eliminate_combined_simd_part (inner_loop);
-      struct walk_stmt_info body_wi;;
+      struct walk_stmt_info body_wi;
       memset (&body_wi, 0, sizeof (body_wi));
       walk_gimple_seq_mod (gimple_omp_body_ptr (inner_loop),
                           grid_process_grid_body, NULL, &body_wi);
index 027b6b1c7c624d2ac3511dd516d1a9ea1d058a7d..44e0c0c82dd0b46fcc32cad4768d45a1dadc0f04 100644 (file)
@@ -121,7 +121,7 @@ dump_insn_rtx_1 (rtx insn, int flags)
   int all;
 
   /* flags == -1 also means dumping all.  */
-  all = (flags & 1);;
+  all = (flags & 1);
   if (all)
     flags |= DUMP_INSN_RTX_ALL;
 
index 56740b98fb50b33efcd63b0c1a9dc6c46cdc92f6..b819980b62bbe51892670acadfdbedb554057069 100644 (file)
@@ -123,7 +123,7 @@ test_find_closest_identifier ()
   ASSERT_EQ (apple, find_closest_identifier (get_identifier ("app"),
                                             &candidates));
   ASSERT_EQ (banana, find_closest_identifier (get_identifier ("banyan"),
-                                             &candidates));;
+                                             &candidates));
   ASSERT_EQ (cherry, find_closest_identifier (get_identifier ("berry"),
                                              &candidates));
   ASSERT_EQ (NULL,
index 283567c18c35cecba9b8070d875479fc635e182d..ae6006d1163dfe034c51406c002446d4189a190c 100644 (file)
@@ -989,7 +989,7 @@ ccp_finalize (bool nonzero_p)
 
   free (const_val);
   const_val = NULL;
-  return something_changed;;
+  return something_changed;
 }