* expr.c (check_inquiry): Remove bogus tests.
testsuite/
* gfortran.fortran-torture/compile/inquiry_1.f90: New test.
From-SVN: r82177
+2004-05-25 Paul Brook <paul@codesourcery.com>
+
+ * expr.c (check_inquiry): Remove bogus tests.
+
2004-05-23 Paul Brook <paul@codesourcery.com>
PR fortran/13773
int i;
- /* These functions must have exactly one argument. */
- if (e->value.function.actual == NULL
- || e->value.function.actual->next != NULL)
- return FAILURE;
-
- if (e->value.function.name != NULL
- && e->value.function.name[0] != '\0')
- return FAILURE;
-
name = e->symtree->n.sym->name;
for (i = 0; inquiry_function[i]; i++)
+2004-05-25 Paul Brook <paul@codesourcery.com>
+
+ * gfortran.fortran-torture/compile/inquiry_1.f90: New test.
+
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/15165
--- /dev/null
+! Check that inquiry functions are allowed as specification expressions.
+subroutine inquiry(x1)
+ implicit none
+ real, dimension(1:), intent(out) :: x1
+ real, dimension(1:size(x1)) :: x3
+ x3 = 0
+ x1 = x3
+end subroutine