From: Ondřej Bílka Date: Tue, 23 Jul 2013 11:39:41 +0000 (+0200) Subject: decl.c: Fix comment typos. X-Git-Tag: releases/gcc-4.9.0~4885 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bd2c800d55cf42bb9adf4466136bf10e88cb6ca;p=thirdparty%2Fgcc.git decl.c: Fix comment typos. 2013-07-23 Ondřej Bílka * decl.c: Fix comment typos. * interface.c: Likewise. * trans-array.c: Likewise. * trans.c: Likewise. From-SVN: r201162 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index c531d0399937..0de32ddda6b5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2013-07-23 Ondřej Bílka + + * decl.c: Fix comment typos. + * interface.c: Likewise. + * trans-array.c: Likewise. + * trans.c: Likewise. + 2013-07-22 Tobias Burnus PR fortran/57906 @@ -20,7 +27,7 @@ * trans-array.c (gfc_array_allocate, gfc_trans_deferred_array): Plug memory leak. -2013-07-21 Ondřej Bílka +2013-07-21 Ondřej Bílka * trans-decl.c: Fix comment typos. * trans-expr.c: Ditto. diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index f1aa31e07be7..152511962d9e 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -8255,7 +8255,7 @@ match_procedure_in_type (void) } /* See if we already have a binding with this name in the symtree which - would be an error. If a GENERIC already targetted this binding, it may + would be an error. If a GENERIC already targeted this binding, it may be already there but then typebound is still NULL. */ stree = gfc_find_symtree (ns->tb_sym_root, name); if (stree && stree->n.tb) diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c index f06ecfe3ec45..8d31d1c73749 100644 --- a/gcc/fortran/interface.c +++ b/gcc/fortran/interface.c @@ -3170,7 +3170,7 @@ gfc_procedure_use (gfc_symbol *sym, gfc_actual_arglist **ap, locus *where) gfc_formal_arglist *dummy_args; /* Warn about calls with an implicit interface. Special case - for calling a ISO_C_BINDING becase c_loc and c_funloc + for calling a ISO_C_BINDING because c_loc and c_funloc are pseudo-unknown. Additionally, warn about procedures not explicitly declared at all if requested. */ if (sym->attr.if_source == IFSRC_UNKNOWN && ! sym->attr.is_iso_c) @@ -3287,7 +3287,7 @@ void gfc_ppc_use (gfc_component *comp, gfc_actual_arglist **ap, locus *where) { /* Warn about calls with an implicit interface. Special case - for calling a ISO_C_BINDING becase c_loc and c_funloc + for calling a ISO_C_BINDING because c_loc and c_funloc are pseudo-unknown. */ if (gfc_option.warn_implicit_interface && comp->attr.if_source == IFSRC_UNKNOWN diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c index 0aac6789f80c..c269ea8bbf1c 100644 --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -994,7 +994,7 @@ get_array_ref_dim_for_loop_dim (gfc_ss *ss, int loop_dim) 'eltype' == NULL signals that the temporary should be a class object. The 'initial' expression is used to obtain the size of the dynamic - type; otherwise the allocation and initialisation proceeds as for any + type; otherwise the allocation and initialization proceeds as for any other expression PRE, POST, INITIAL, DYNAMIC and DEALLOC are as for diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c index 53a0669fc778..b7863b2d5111 100644 --- a/gcc/fortran/trans.c +++ b/gcc/fortran/trans.c @@ -1568,7 +1568,7 @@ gfc_set_backend_locus (locus * loc) } -/* Restore the saved locus. Only used in conjonction with +/* Restore the saved locus. Only used in conjunction with gfc_save_backend_locus, to free the memory when we are done. */ void