aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-01-04 08:38:12 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2010-01-04 08:38:12 +0100
commit93c7168800d48c3b05910109163ce0b603241ee9 (patch)
tree813ac9ca0bca1623f23e0a2e79e1ec2ebdd77420
parent5b13080782bb78ffcf0ac8150e379a30fbcef04a (diff)
downloadgcc-93c7168800d48c3b05910109163ce0b603241ee9.zip
gcc-93c7168800d48c3b05910109163ce0b603241ee9.tar.gz
gcc-93c7168800d48c3b05910109163ce0b603241ee9.tar.bz2
trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
2010-01-04 Tobias Burnus <burnus@net-b.de> * trans-decl.c (gfc_trans_deferred_vars): Fix spelling. From-SVN: r155607
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/trans-decl.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c033b6e..24b258d 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,4 +1,8 @@
2010-01-04 Tobias Burnus <burnus@net-b.de>
+
+ * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
+
+2010-01-04 Tobias Burnus <burnus@net-b.de>
PR fortran/41872
* trans-expr.c (gfc_conv_procedure_call): Add indirect ref
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index f93cc9f..ce33b2a 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -537,7 +537,7 @@ gfc_finish_var_decl (tree decl, gfc_symbol * sym)
gfortran would typically put them in either the BSS or
initialized data segments, and only mark them as common if
they were part of common blocks. However, if they are not put
- into common space, then C cannot initialize global fortran
+ into common space, then C cannot initialize global Fortran
variables that it interoperates with and the draft says that
either Fortran or C should be able to initialize it (but not
both, of course.) (J3/04-007, section 15.3). */
@@ -3188,7 +3188,7 @@ gfc_trans_deferred_vars (gfc_symbol * proc_sym, tree fnbody)
|| (sym->ts.type == BT_CLASS
&& sym->ts.u.derived->components->attr.allocatable))
{
- /* Nullify and automatic deallocatation of allocatable scalars. */
+ /* Nullify and automatic deallocation of allocatable scalars. */
tree tmp;
gfc_expr *e;
gfc_se se;