aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-05-23 23:52:18 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-05-23 23:52:18 +0000
commit45aae8f22343ebac74aa78d6db43e93e88831250 (patch)
tree561a0d66c9c9fabf406da979b78b51dc375a62d2 /gcc/fortran/expr.c
parent6972898c73f6045f08985b2d54f2b7862a648ff1 (diff)
downloadgcc-45aae8f22343ebac74aa78d6db43e93e88831250.zip
gcc-45aae8f22343ebac74aa78d6db43e93e88831250.tar.gz
gcc-45aae8f22343ebac74aa78d6db43e93e88831250.tar.bz2
expr.c (check_inquiry): Remove bogus tests.
* expr.c (check_inquiry): Remove bogus tests. testsuite/ * gfortran.fortran-torture/compile/inquiry_1.f90: New test. From-SVN: r82177
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r--gcc/fortran/expr.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index 1546dec..122ba38 100644
--- a/gcc/fortran/expr.c
+++ b/gcc/fortran/expr.c
@@ -1273,15 +1273,6 @@ check_inquiry (gfc_expr * e)
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++)