aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-05-29 05:19:37 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-05-29 05:19:37 +0000
commiteb6d74fa8279e1039ef80066f179528864d6db53 (patch)
tree9aac77809b18cdcdb173585f6b34106c10676d06 /gcc/fortran
parent8e05dcfe27a68ef63676916ab201c66fd2fda9fe (diff)
downloadgcc-eb6d74fa8279e1039ef80066f179528864d6db53.zip
gcc-eb6d74fa8279e1039ef80066f179528864d6db53.tar.gz
gcc-eb6d74fa8279e1039ef80066f179528864d6db53.tar.bz2
options.c, [...]: Fix typos in error messages.
* options.c, primary.c, resolve.c, trans-common.c: Fix typos in error messages. From-SVN: r114183
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/options.c2
-rw-r--r--gcc/fortran/primary.c2
-rw-r--r--gcc/fortran/resolve.c2
-rw-r--r--gcc/fortran/trans-common.c2
5 files changed, 9 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index f264b29..efcf739 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-29 Kazu Hirata <kazu@codesourcery.com>
+
+ * options.c, primary.c, resolve.c, trans-common.c: Fix typos
+ in error messages.
+
2006-05-28 Kazu Hirata <kazu@codesourcery.com>
* check.c, expr.c, resolve.c, trans-common.c,
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c
index 278a346..6add2b8 100644
--- a/gcc/fortran/options.c
+++ b/gcc/fortran/options.c
@@ -533,7 +533,7 @@ gfc_handle_option (size_t scode, const char *arg, int value)
case OPT_fmax_identifier_length_:
if (value > GFC_MAX_SYMBOL_LEN)
- gfc_fatal_error ("Maximum supported idenitifier length is %d",
+ gfc_fatal_error ("Maximum supported identifier length is %d",
GFC_MAX_SYMBOL_LEN);
gfc_option.max_identifier_length = value;
break;
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c
index 967bcb0..8fe1294 100644
--- a/gcc/fortran/primary.c
+++ b/gcc/fortran/primary.c
@@ -265,7 +265,7 @@ match_hollerith_constant (gfc_expr ** result)
}
if (e->ts.kind != gfc_default_integer_kind)
{
- gfc_error ("Invalid Hollerith constant: Interger kind at %L "
+ gfc_error ("Invalid Hollerith constant: Integer kind at %L "
"should be default", &old_loc);
goto cleanup;
}
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index c662947..fef969f 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -3992,7 +3992,7 @@ gfc_find_forall_index (gfc_expr *expr, gfc_symbol *symbol)
break;
default:
- gfc_error("expresion reference type error at %L", &expr->where);
+ gfc_error("expression reference type error at %L", &expr->where);
}
tmp = tmp->next;
}
diff --git a/gcc/fortran/trans-common.c b/gcc/fortran/trans-common.c
index 856eeeb..f3b0f12 100644
--- a/gcc/fortran/trans-common.c
+++ b/gcc/fortran/trans-common.c
@@ -848,7 +848,7 @@ align_segment (unsigned HOST_WIDE_INT * palign)
{
/* Aligning this field would misalign a previous field. */
gfc_error ("The equivalence set for variable '%s' "
- "declared at %L violates alignment requirents",
+ "declared at %L violates alignment requirements",
s->sym->name, &s->sym->declared_at);
}
offset += this_offset;