diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-11-30 23:47:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-11-30 23:47:51 +0100 |
commit | 5de73c050e4dbb3dfc8705bf20199aedb090df20 (patch) | |
tree | 0b3cb78d4587c91313736b1efd39187b9e3bcb39 | |
parent | 1069dc251bd97f187ff42b543ca90e08203465ae (diff) | |
download | gcc-5de73c050e4dbb3dfc8705bf20199aedb090df20.zip gcc-5de73c050e4dbb3dfc8705bf20199aedb090df20.tar.gz gcc-5de73c050e4dbb3dfc8705bf20199aedb090df20.tar.bz2 |
spellcheck-tree.c (test_find_closest_identifier): Use ; instead of ;;.
* 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
-rw-r--r-- | gcc/ChangeLog | 17 | ||||
-rw-r--r-- | gcc/builtins.c | 2 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c/c-parser.c | 2 | ||||
-rw-r--r-- | gcc/gengtype-state.c | 2 | ||||
-rw-r--r-- | gcc/gimple-fold.c | 2 | ||||
-rw-r--r-- | gcc/graphite-scop-detection.c | 2 | ||||
-rw-r--r-- | gcc/hsa-gen.c | 2 | ||||
-rw-r--r-- | gcc/ifcvt.c | 2 | ||||
-rw-r--r-- | gcc/ipa-cp.c | 4 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/jit/jit-recording.c | 2 | ||||
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto.c | 2 | ||||
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-01.c | 2 | ||||
-rw-r--r-- | gcc/omp-grid.c | 2 | ||||
-rw-r--r-- | gcc/sel-sched-dump.c | 2 | ||||
-rw-r--r-- | gcc/spellcheck-tree.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-ccp.c | 2 |
20 files changed, 52 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 227396a..6a42a25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/builtins.c b/gcc/builtins.c index afc975e..097e1b7 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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); diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 2c36348..677b54c 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -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 diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 4da24a6..755cd2b 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -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; diff --git a/gcc/gengtype-state.c b/gcc/gengtype-state.c index 2f27c42..bae5a2e 100644 --- a/gcc/gengtype-state.c +++ b/gcc/gengtype-state.c @@ -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) { diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index 849b62f..05a930e 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -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 (); diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index dd273a4..0f09c13 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -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; diff --git a/gcc/hsa-gen.c b/gcc/hsa-gen.c index f0efd9d..70f715e 100644 --- a/gcc/hsa-gen.c +++ b/gcc/hsa-gen.c @@ -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); } diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 72bab82..91360d8 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -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; diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index aa9e300..144762c 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -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; diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index afa5379..7be5c47 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -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 diff --git a/gcc/jit/jit-recording.c b/gcc/jit/jit-recording.c index bd8f116..fb492c0 100644 --- a/gcc/jit/jit-recording.c +++ b/gcc/jit/jit-recording.c @@ -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; } diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index ed55a5f..7d997e4 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -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 diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 748ef02..ae9bae8 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -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 */ diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index f87294b..39d0223 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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 diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index 686d928..8c52afb 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/gcc/objc/objc-next-runtime-abi-01.c @@ -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; diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index 121c96e..7314126 100644 --- a/gcc/omp-grid.c +++ b/gcc/omp-grid.c @@ -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); diff --git a/gcc/sel-sched-dump.c b/gcc/sel-sched-dump.c index 027b6b1..44e0c0c 100644 --- a/gcc/sel-sched-dump.c +++ b/gcc/sel-sched-dump.c @@ -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; diff --git a/gcc/spellcheck-tree.c b/gcc/spellcheck-tree.c index 56740b9..b819980 100644 --- a/gcc/spellcheck-tree.c +++ b/gcc/spellcheck-tree.c @@ -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, diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 283567c..ae6006d 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -989,7 +989,7 @@ ccp_finalize (bool nonzero_p) free (const_val); const_val = NULL; - return something_changed;; + return something_changed; } |