Commit f9fed73b by Tobias Schlüter Committed by Tobias Schlüter

intrinsic.c (sort_actual): Keep track of type of missing arguments.

	* intrinsic.c (sort_actual): Keep track of type of missing
	arguments. (Missing from previous commit.)

From-SVN: r82645
parent 446f52f4
2004-06-05 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* intrinsic.c (sort_actual): Keep track of type of missing
arguments. (Missing from previous commit.)
2004-06-03 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> 2004-06-03 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.h (gfc_actual_arglist): New field missing_arg_type. * gfortran.h (gfc_actual_arglist): New field missing_arg_type.
......
...@@ -1959,7 +1959,13 @@ do_sort: ...@@ -1959,7 +1959,13 @@ do_sort:
for (f = formal; f; f = f->next) for (f = formal; f; f = f->next)
{ {
a = (f->actual == NULL) ? gfc_get_actual_arglist () : f->actual; if (f->actual == NULL)
{
a = gfc_get_actual_arglist ();
a->missing_arg_type = f->ts.type;
}
else
a = f->actual;
if (actual == NULL) if (actual == NULL)
*ap = a; *ap = a;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment