2009-11-06 Steven G. Kargl <kargl@gcc.gnu.org>

resolve.c (check_typebound_override): Remove duplicate "in" in error
        message.

From-SVN: r153982
This commit is contained in:
Steven G. Kargl 2009-11-06 23:47:51 +00:00
parent 8e32aa11c7
commit 800cee345f
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2009-11-05 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41918 PR fortran/41918

View File

@ -9480,8 +9480,8 @@ check_typebound_override (gfc_symtree* proc, gfc_symtree* old)
if (proc_pass_arg != argpos && old_pass_arg != argpos if (proc_pass_arg != argpos && old_pass_arg != argpos
&& !gfc_compare_types (&proc_formal->sym->ts, &old_formal->sym->ts)) && !gfc_compare_types (&proc_formal->sym->ts, &old_formal->sym->ts))
{ {
gfc_error ("Types mismatch for dummy argument '%s' of '%s' %L in" gfc_error ("Types mismatch for dummy argument '%s' of '%s' %L "
" in respect to the overridden procedure", "in respect to the overridden procedure",
proc_formal->sym->name, proc->name, &where); proc_formal->sym->name, proc->name, &where);
return FAILURE; return FAILURE;
} }