summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-stmt.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-04-30 21:07:45 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-04-30 21:07:45 +0000
commit6f3d1a5e66b208f9e6599331940ff0cc88df4aa0 (patch)
treec2994536b19add4767d9c801bca711e83ae43a23 /gcc/fortran/trans-stmt.c
parent4f576c83fb197b74767c536583107b457aead8ef (diff)
downloadgcc-6f3d1a5e66b208f9e6599331940ff0cc88df4aa0.tar.gz
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
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
-rw-r--r--gcc/fortran/trans-stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c
index 53e9bcc73ce..814bddecedc 100644
--- a/gcc/fortran/trans-stmt.c
+++ b/gcc/fortran/trans-stmt.c
@@ -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)