Fix spurious semicolons
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 30 Apr 2015 21:07:45 +0000 (21:07 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 30 Apr 2015 21:07:45 +0000 (21:07 +0000)
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

gcc/ChangeLog
gcc/builtins.c
gcc/cgraph.h
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/fortran/ChangeLog
gcc/fortran/options.c
gcc/fortran/trans-stmt.c
gcc/opts.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree-ssa-loop-niter.c

index 065e45b83b4d0b88de70431cda3ae1ddecfa8a4d..d9241b12f16fccdb5e06e3c02daaed08069108c0 100644 (file)
@@ -1,3 +1,12 @@
+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>
 
         PR 65929
index 028d793c34c8bb8f9a7307619c7c4eb2cc50b3de..523cddb9acc5e663f4e043256b34b0bad67fba94 100644 (file)
@@ -9964,7 +9964,7 @@ fold_builtin_1 (location_t loc, tree fndecl, tree arg0)
     CASE_FLT_FN (BUILT_IN_CREAL):
       if (validate_arg (arg0, COMPLEX_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;
 
     CASE_FLT_FN (BUILT_IN_CIMAG):
index 29f65a895ff539dcf309b8257bdd5aeddbe4035f..108cc801c6eb05ffccf3b1e938d7ec79e4b4f03b 100644 (file)
@@ -2992,7 +2992,7 @@ symtab_node::get_availability (void)
   if (is_a <cgraph_node *> (this))
     return dyn_cast <cgraph_node *> (this)->get_availability ();
   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.
index d78b22f195567a10b6e2273da7ca12f6ec144b49..14279fe91fc5419f61f0e269a91187fea461f996 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR c++/50800
index df03d1a146533b58623e1d8f3771f1cd9ce1ec77..e0fbf5e7c4228c064efd5934c1b2f493bd738d88 100644 (file)
@@ -3073,7 +3073,7 @@ extern void decl_shadowed_for_var_insert (tree, tree);
    ARGUMENT_PACK_SELECT represents. */
 #define ARGUMENT_PACK_SELECT_ARG(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.  */
 #define DECL_SAVED_FUNCTION_DATA(NODE)                 \
index bb442325e8ed729c13bba7baa38ceb58a12f1ea0..76cf93652611ee5e30736f6c7e6fc8609349e167 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        * interface.c (gfc_compare_types): Check for unlimited
index 1262ccc19aa019cde26ee4912dd0b1e719e830d0..5a35803beef3dc2935a9f6eca9878634f367a57c 100644 (file)
@@ -115,7 +115,7 @@ gfc_init_options (unsigned int decoded_options_count,
      enabled by default in Fortran.  Ideally, we should express this
      in .opt, but that is not supported yet.  */
   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 ();
 
index 53e9bcc73ce7dc3480954e7f4649580246ff09de..814bddecedcb25ab772fec35c800f1130d985e38 100644 (file)
@@ -5504,7 +5504,7 @@ gfc_trans_allocate (gfc_code * code)
            memsz = TYPE_SIZE_UNIT (gfc_typenode_for_spec (&code->ext.alloc.ts));
          else
            /* 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.  */
          if (gfc_expr_attr (expr).allocatable)
index 39c190d0a17cb13c297ea3d8c466bcc0ce9bef1d..fed5d12063b9630be09c42569eb3b38144b8f303 100644 (file)
@@ -1386,7 +1386,7 @@ common_handle_option (struct gcc_options *opts,
        unsigned int i;
 
        if (lang_mask == CL_DRIVER)
-         break;;
+         break;
 
        undoc_mask = ((opts->x_verbose_flag | opts->x_extra_warnings)
                      ? 0
index d71e3a4d337eefeeadab6bf187bc6a1e31a9cddd..44219d259e1dde67b9e888f051af4efef86d2683 100644 (file)
@@ -1481,9 +1481,9 @@ extract_cond_operands (struct ivopts_data *data, gimple stmt,
 
 end:
   if (control_var)
-    *control_var = op0;;
+    *control_var = op0;
   if (iv_var)
-    *iv_var = iv0;;
+    *iv_var = iv0;
   if (bound)
     *bound = op1;
   if (iv_bound)
index fc63825904fa7c61414a6dd353e0724e95586547..042f8dff2f17c87e190b6ea02d64a2b4c78d3008 100644 (file)
@@ -2565,7 +2565,7 @@ derive_constant_upper_bound_ops (tree type, tree op0,
          cst = -cst;
          /* Avoid CST == 0x80000...  */
          if (wi::neg_p (cst))
-           return max;;
+           return max;
 
          /* OP0 + CST.  We need to check that
             BND <= MAX (type) - CST.  */