This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran,patch] fix typos
- From: Tobias Burnus <burnus at net-b dot de>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 16 Oct 2006 13:20:58 +0200
- Subject: Re: [fortran,patch] fix typos
- References: <45333C08.7020005@net-b.de>
Hello,
I just saw that http://gcc.gnu.org/svnwrite.html allows to fix typos
even without prior approval. Since I now am allowed to check in into SVN
(write after approval), I commited this patch (see attachment; revision
117781).
I also added myself to MAINTAINERS(Write After Approval) (rev. 117780).
Tobias
Index: ChangeLog
===================================================================
--- ChangeLog (Revision 117780)
+++ ChangeLog (Arbeitskopie)
@@ -1,3 +1,11 @@
+2006-10-16 Tobias Burnus <burnus@net-b.de>
+
+ * trans-stmt.c: Fix a typo
+ * invoke.texi: Fix typos
+ * resolve.c: Fix a comment typo
+ * trans-decl.c: Fix a comment typo
+ * primary.c: Fix a comment typo
+
2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/29403
Index: trans-stmt.c
===================================================================
--- trans-stmt.c (Revision 117780)
+++ trans-stmt.c (Arbeitskopie)
@@ -625,7 +625,7 @@
}
-/* Translage an arithmetic IF expression.
+/* Translate an arithmetic IF expression.
IF (cond) label1, label2, label3 translates to
Index: invoke.texi
===================================================================
--- invoke.texi (Revision 117780)
+++ invoke.texi (Arbeitskopie)
@@ -845,13 +845,13 @@
@item -frepack-arrays
@cindex Repacking arrays
In some circumstances GNU Fortran may pass assumed shape array
-sections via a descriptor describing a discontiguous area of memory.
+sections via a descriptor describing a discontinuous area of memory.
This option adds code to the function prologue to repack the data into
a contiguous block at runtime.
This should result in faster accesses to the array. However it can introduce
significant overhead to the function call, especially when the passed data
-is discontiguous.
+is discontinuous.
@cindex -fshort-enums
@item -fshort-enums
Index: resolve.c
===================================================================
--- resolve.c (Revision 117780)
+++ resolve.c (Arbeitskopie)
@@ -1528,7 +1528,7 @@
&& expr->value.function.isym->generic_id != GFC_ISYM_LOC
&& expr->value.function.isym->generic_id != GFC_ISYM_PRESENT)
{
- /* Array instrinsics must also have the last upper bound of an
+ /* Array intrinsics must also have the last upper bound of an
assumed size array argument. UBOUND and SIZE have to be
excluded from the check if the second argument is anything
than a constant. */
Index: trans-decl.c
===================================================================
--- trans-decl.c (Revision 117780)
+++ trans-decl.c (Arbeitskopie)
@@ -701,7 +701,7 @@
type = TREE_TYPE (type);
if (GFC_DESCRIPTOR_TYPE_P (type))
{
- /* Create a decriptorless array pointer. */
+ /* Create a descriptorless array pointer. */
as = sym->as;
packed = 0;
if (!gfc_option.flag_repack_arrays)
Index: primary.c
===================================================================
--- primary.c (Revision 117780)
+++ primary.c (Arbeitskopie)
@@ -463,7 +463,7 @@
c = gfc_next_char ();
}
- /* Scan significand. */
+ /* Scan significant. */
for (;; c = gfc_next_char (), count++)
{
if (c == '.')