diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2006-11-24 22:45:36 +0100 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-11-24 21:45:36 +0000 |
commit | e7c1c8d1a18a2551c91254fc2b92f69c788c077b (patch) | |
tree | e1cbdc1778fa66c881bd9fcfcaee531c042b2114 /gcc/fortran/resolve.c | |
parent | 5c386a95ee20b9bb8f705ed1f8394ca7b4bafa7d (diff) | |
download | gcc-e7c1c8d1a18a2551c91254fc2b92f69c788c077b.zip gcc-e7c1c8d1a18a2551c91254fc2b92f69c788c077b.tar.gz gcc-e7c1c8d1a18a2551c91254fc2b92f69c788c077b.tar.bz2 |
resolve.c (resolve_actual_arglist): Remove the special case for CHAR.
* resolve.c (resolve_actual_arglist): Remove the special case for
CHAR.
* intrinsic.c (add_functions): Remove the special case for CHAR.
* gfortran.dg/specifics_1.f90: Remove check for CHAR.
* gfortran.dg/specifics_2.f90: Remove check for CHAR.
* gfortran.dg/specifics_3.f90: Remove.
From-SVN: r119170
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r-- | gcc/fortran/resolve.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index e798070..44ca7d9 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -881,12 +881,6 @@ resolve_actual_arglist (gfc_actual_arglist * arg) gfc_error ("Intrinsic '%s' at %L is not allowed as an " "actual argument", sym->name, &e->where); } - else if (sym->attr.intrinsic && actual_ok == 2) - /* We need a special case for CHAR, which is the only intrinsic - function allowed as actual argument in F2003 and not allowed - in F95. */ - gfc_notify_std (GFC_STD_F2003, "Fortran 2003: CHAR intrinsic " - "as actual argument at %L", &e->where); if (sym->attr.contained && !sym->attr.use_assoc && sym->ns->proc_name->attr.flavor != FL_MODULE) |