OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-10-12 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
fortran
/
resolve.c
diff --git
a/gcc/fortran/resolve.c
b/gcc/fortran/resolve.c
index
2686c3d
..
26c139c
100644
(file)
--- a/
gcc/fortran/resolve.c
+++ b/
gcc/fortran/resolve.c
@@
-971,6
+971,13
@@
resolve_actual_arglist (gfc_actual_arglist *arg, procedure_type ptype)
continue;
}
+ if (e->expr_type == FL_VARIABLE && e->symtree->ambiguous)
+ {
+ gfc_error ("'%s' at %L is ambiguous", e->symtree->n.sym->name,
+ &e->where);
+ return FAILURE;
+ }
+
if (e->ts.type != BT_PROCEDURE)
{
if (gfc_resolve_expr (e) != SUCCESS)