[Bug fortran/50555] synonymous namelist/statement function dummy argument not allowed (r178939)
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 7 20:16:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50555
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sun Feb 7 20:15:55 2016
New Revision: 233203
URL: https://gcc.gnu.org/viewcvs?rev=233203&root=gcc&view=rev
Log:
2016-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/50555
* primary.c (match_actual_arg): If symbol has attribute flavor of
namelist, generate an error. (gfc_match_rvalue): Likewise return
MATCH_ERROR.
* resolve.c (resolve_symbol): Scan arument list of procedures and
generate an error if a namelist is found.
PR fortran/50555
* gfortran.dg/namelist_args.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/namelist_args.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/primary.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list