Commit 6f3d1a5e by David Malcolm Committed by David Malcolm

Fix spurious semicolons

gcc/ChangeLog:
	* builtins.c (fold_builtin_1): Remove spurious second
	semicolon.
	* cgraph.h (symtab_node::get_availability): Likewise.
	* opts.c (common_handle_option): Remove spurious second semicolon.
	* tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise.
	* tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise.

gcc/cp/ChangeLog:
	* cp-tree.h (ARGUMENT_PACK_SELECT_ARG): Remove spurious
	trailing semicolon.

gcc/fortran/ChangeLog:
	* options.c (gfc_init_options): Remove spurious second
	semicolon.
	* trans-stmt.c (gfc_trans_allocate): Likewise.

From-SVN: r222658
parent 4f576c83
2015-04-30 David Malcolm <dmalcolm@redhat.com>
* builtins.c (fold_builtin_1): Remove spurious second
semicolon.
* cgraph.h (symtab_node::get_availability): Likewise.
* opts.c (common_handle_option): Remove spurious second semicolon.
* tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise.
* tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise.
2015-04-30 Caroline Tice <cmtice@google.com> 2015-04-30 Caroline Tice <cmtice@google.com>
PR 65929 PR 65929
......
...@@ -9964,7 +9964,7 @@ fold_builtin_1 (location_t loc, tree fndecl, tree arg0) ...@@ -9964,7 +9964,7 @@ fold_builtin_1 (location_t loc, tree fndecl, tree arg0)
CASE_FLT_FN (BUILT_IN_CREAL): CASE_FLT_FN (BUILT_IN_CREAL):
if (validate_arg (arg0, COMPLEX_TYPE) if (validate_arg (arg0, COMPLEX_TYPE)
&& TREE_CODE (TREE_TYPE (TREE_TYPE (arg0))) == REAL_TYPE) && TREE_CODE (TREE_TYPE (TREE_TYPE (arg0))) == REAL_TYPE)
return non_lvalue_loc (loc, fold_build1_loc (loc, REALPART_EXPR, type, arg0));; return non_lvalue_loc (loc, fold_build1_loc (loc, REALPART_EXPR, type, arg0));
break; break;
CASE_FLT_FN (BUILT_IN_CIMAG): CASE_FLT_FN (BUILT_IN_CIMAG):
......
...@@ -2992,7 +2992,7 @@ symtab_node::get_availability (void) ...@@ -2992,7 +2992,7 @@ symtab_node::get_availability (void)
if (is_a <cgraph_node *> (this)) if (is_a <cgraph_node *> (this))
return dyn_cast <cgraph_node *> (this)->get_availability (); return dyn_cast <cgraph_node *> (this)->get_availability ();
else else
return dyn_cast <varpool_node *> (this)->get_availability ();; return dyn_cast <varpool_node *> (this)->get_availability ();
} }
/* Call calback on symtab node and aliases associated to this node. /* Call calback on symtab node and aliases associated to this node.
......
2015-04-30 David Malcolm <dmalcolm@redhat.com>
* cp-tree.h (ARGUMENT_PACK_SELECT_ARG): Remove spurious
trailing semicolon.
2015-04-29 Jason Merrill <jason@redhat.com> 2015-04-29 Jason Merrill <jason@redhat.com>
PR c++/50800 PR c++/50800
......
...@@ -3073,7 +3073,7 @@ extern void decl_shadowed_for_var_insert (tree, tree); ...@@ -3073,7 +3073,7 @@ extern void decl_shadowed_for_var_insert (tree, tree);
ARGUMENT_PACK_SELECT represents. */ ARGUMENT_PACK_SELECT represents. */
#define ARGUMENT_PACK_SELECT_ARG(NODE) \ #define ARGUMENT_PACK_SELECT_ARG(NODE) \
TREE_VEC_ELT (ARGUMENT_PACK_ARGS (ARGUMENT_PACK_SELECT_FROM_PACK (NODE)), \ TREE_VEC_ELT (ARGUMENT_PACK_ARGS (ARGUMENT_PACK_SELECT_FROM_PACK (NODE)), \
ARGUMENT_PACK_SELECT_INDEX (NODE)); ARGUMENT_PACK_SELECT_INDEX (NODE))
/* In a FUNCTION_DECL, the saved language-specific per-function data. */ /* In a FUNCTION_DECL, the saved language-specific per-function data. */
#define DECL_SAVED_FUNCTION_DATA(NODE) \ #define DECL_SAVED_FUNCTION_DATA(NODE) \
......
2015-04-30 David Malcolm <dmalcolm@redhat.com>
* options.c (gfc_init_options): Remove spurious second
semicolon.
* trans-stmt.c (gfc_trans_allocate): Likewise.
2015-04-28 Andre Vehreschild <vehre@gmx.de> 2015-04-28 Andre Vehreschild <vehre@gmx.de>
* interface.c (gfc_compare_types): Check for unlimited * interface.c (gfc_compare_types): Check for unlimited
......
...@@ -115,7 +115,7 @@ gfc_init_options (unsigned int decoded_options_count, ...@@ -115,7 +115,7 @@ gfc_init_options (unsigned int decoded_options_count,
enabled by default in Fortran. Ideally, we should express this enabled by default in Fortran. Ideally, we should express this
in .opt, but that is not supported yet. */ in .opt, but that is not supported yet. */
if (!global_options_set.x_cpp_warn_missing_include_dirs) if (!global_options_set.x_cpp_warn_missing_include_dirs)
global_options.x_cpp_warn_missing_include_dirs = 1;; global_options.x_cpp_warn_missing_include_dirs = 1;
set_default_std_flags (); set_default_std_flags ();
......
...@@ -5504,7 +5504,7 @@ gfc_trans_allocate (gfc_code * code) ...@@ -5504,7 +5504,7 @@ gfc_trans_allocate (gfc_code * code)
memsz = TYPE_SIZE_UNIT (gfc_typenode_for_spec (&code->ext.alloc.ts)); memsz = TYPE_SIZE_UNIT (gfc_typenode_for_spec (&code->ext.alloc.ts));
else else
/* Handle size computation of the type declared to alloc. */ /* Handle size computation of the type declared to alloc. */
memsz = TYPE_SIZE_UNIT (TREE_TYPE (TREE_TYPE (se.expr)));; memsz = TYPE_SIZE_UNIT (TREE_TYPE (TREE_TYPE (se.expr)));
/* Allocate - for non-pointers with re-alloc checking. */ /* Allocate - for non-pointers with re-alloc checking. */
if (gfc_expr_attr (expr).allocatable) if (gfc_expr_attr (expr).allocatable)
......
...@@ -1386,7 +1386,7 @@ common_handle_option (struct gcc_options *opts, ...@@ -1386,7 +1386,7 @@ common_handle_option (struct gcc_options *opts,
unsigned int i; unsigned int i;
if (lang_mask == CL_DRIVER) if (lang_mask == CL_DRIVER)
break;; break;
undoc_mask = ((opts->x_verbose_flag | opts->x_extra_warnings) undoc_mask = ((opts->x_verbose_flag | opts->x_extra_warnings)
? 0 ? 0
......
...@@ -1481,9 +1481,9 @@ extract_cond_operands (struct ivopts_data *data, gimple stmt, ...@@ -1481,9 +1481,9 @@ extract_cond_operands (struct ivopts_data *data, gimple stmt,
end: end:
if (control_var) if (control_var)
*control_var = op0;; *control_var = op0;
if (iv_var) if (iv_var)
*iv_var = iv0;; *iv_var = iv0;
if (bound) if (bound)
*bound = op1; *bound = op1;
if (iv_bound) if (iv_bound)
......
...@@ -2565,7 +2565,7 @@ derive_constant_upper_bound_ops (tree type, tree op0, ...@@ -2565,7 +2565,7 @@ derive_constant_upper_bound_ops (tree type, tree op0,
cst = -cst; cst = -cst;
/* Avoid CST == 0x80000... */ /* Avoid CST == 0x80000... */
if (wi::neg_p (cst)) if (wi::neg_p (cst))
return max;; return max;
/* OP0 + CST. We need to check that /* OP0 + CST. We need to check that
BND <= MAX (type) - CST. */ BND <= MAX (type) - CST. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment