aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-11-30 23:47:51 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-11-30 23:47:51 +0100
commit5de73c050e4dbb3dfc8705bf20199aedb090df20 (patch)
tree0b3cb78d4587c91313736b1efd39187b9e3bcb39
parent1069dc251bd97f187ff42b543ca90e08203465ae (diff)
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/ChangeLog17
-rw-r--r--gcc/builtins.c2
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-parser.c2
-rw-r--r--gcc/gengtype-state.c2
-rw-r--r--gcc/gimple-fold.c2
-rw-r--r--gcc/graphite-scop-detection.c2
-rw-r--r--gcc/hsa-gen.c2
-rw-r--r--gcc/ifcvt.c2
-rw-r--r--gcc/ipa-cp.c4
-rw-r--r--gcc/jit/ChangeLog6
-rw-r--r--gcc/jit/jit-recording.c2
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c2
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-next-runtime-abi-01.c2
-rw-r--r--gcc/omp-grid.c2
-rw-r--r--gcc/sel-sched-dump.c2
-rw-r--r--gcc/spellcheck-tree.c2
-rw-r--r--gcc/tree-ssa-ccp.c2
20 files changed, 52 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 227396abe64..6a42a25a24e 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 afc975e6dee..097e1b73563 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 2c363483bb1..677b54cbfae 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 4da24a64cd1..755cd2b4341 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 2f27c42b042..bae5a2e1b5f 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 849b62fa903..05a930e98f8 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 dd273a40f86..0f09c1359dd 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 f0efd9dd6d9..70f715ec8fe 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 72bab82491f..91360d80615 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 aa9e300d378..144762cf5e2 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 afa53791d79..7be5c47f01d 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 bd8f11658b1..fb492c09142 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 ed55a5f547b..7d997e4f9ff 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 748ef02143c..ae9bae84016 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 f87294be8f5..39d0223ca0e 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 686d9285482..8c52afb2704 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 121c96ebe39..7314126f8e3 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 027b6b1c7c6..44e0c0c82dd 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 56740b98fb5..b819980b62b 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 283567c18c3..ae6006d1163 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;
}