diff options
author | Tobias Burnus <burnus@net-b.de> | 2006-10-16 13:17:29 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2006-10-16 13:17:29 +0200 |
commit | fa9516946c7076c902f1fd8e96add1a37d83f8b4 (patch) | |
tree | 7d6261b2f469a88d1a33f37f59e890bf0fc4ce5c /gcc/fortran | |
parent | 018c8d88cb5b4dd25dbcd6c8ffab00414f54c6e0 (diff) | |
download | gcc-fa9516946c7076c902f1fd8e96add1a37d83f8b4.zip gcc-fa9516946c7076c902f1fd8e96add1a37d83f8b4.tar.gz gcc-fa9516946c7076c902f1fd8e96add1a37d83f8b4.tar.bz2 |
trans-stmt.c: Fix a typo
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
From-SVN: r117781
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/fortran/invoke.texi | 4 | ||||
-rw-r--r-- | gcc/fortran/primary.c | 2 | ||||
-rw-r--r-- | gcc/fortran/resolve.c | 2 | ||||
-rw-r--r-- | gcc/fortran/trans-decl.c | 2 | ||||
-rw-r--r-- | gcc/fortran/trans-stmt.c | 2 |
6 files changed, 14 insertions, 6 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index aa06cf3..6d7e4c4 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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 diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index b742d169..46701b7 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -845,13 +845,13 @@ with code compiled without this option, and may execute slower. @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 diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c index 1dd8626d5..74c7e95 100644 --- a/gcc/fortran/primary.c +++ b/gcc/fortran/primary.c @@ -463,7 +463,7 @@ match_real_constant (gfc_expr ** result, int signflag) c = gfc_next_char (); } - /* Scan significand. */ + /* Scan significant. */ for (;; c = gfc_next_char (), count++) { if (c == '.') diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 8fc2a6c..2639cab 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -1528,7 +1528,7 @@ resolve_function (gfc_expr * expr) && 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. */ diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 7250022..d12b953 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -701,7 +701,7 @@ gfc_build_dummy_array_decl (gfc_symbol * sym, tree dummy) 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) diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c index 25d41ee..1c49e7b 100644 --- a/gcc/fortran/trans-stmt.c +++ b/gcc/fortran/trans-stmt.c @@ -625,7 +625,7 @@ gfc_trans_if (gfc_code * code) } -/* Translage an arithmetic IF expression. +/* Translate an arithmetic IF expression. IF (cond) label1, label2, label3 translates to |