aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/resolve.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index eef8cf8..33deec4 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-06 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ resolve.c (check_typebound_override): Remove duplicate "in" in error
+ message.
+
2009-11-05 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41918
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index a721d94..1cbe04a 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -9480,8 +9480,8 @@ check_typebound_override (gfc_symtree* proc, gfc_symtree* old)
if (proc_pass_arg != argpos && old_pass_arg != argpos
&& !gfc_compare_types (&proc_formal->sym->ts, &old_formal->sym->ts))
{
- gfc_error ("Types mismatch for dummy argument '%s' of '%s' %L in"
- " in respect to the overridden procedure",
+ gfc_error ("Types mismatch for dummy argument '%s' of '%s' %L "
+ "in respect to the overridden procedure",
proc_formal->sym->name, proc->name, &where);
return FAILURE;
}