[Patch, fortran] PR20886 - passing generic name as dummy argument
THOMAS Paul Richard 169137
Paul.Richard.THOMAS@cea.fr
Thu Aug 10 09:52:00 GMT 2006
:ADDPATCH fortran:
This is another one of Joos' PRs. It is so simple that the ChangeLog
and the patch speak for themselves. It should be noted that not only
is this a requirement of the standard but it is obviously an error,
since there is no symbol to pass; this is detected at the link stage.
Regtested on Cygwin_NT/PIV: OK for trunk and 4.1?
Paul
2006-08-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/20886
* resolve.c (resolve_actual_arglist): The passing of
a generic procedure name as an actual argument is an
error.
2006-08-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/20886
* gfortran.dg/generic_actual_arg.f90: New test.
<<pr20886.diff>> <<Change.Logs>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr20886.diff
Type: application/octet-stream
Size: 1413 bytes
Desc: pr20886.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060810/e0429a08/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 299 bytes
Desc: Change.Logs
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060810/e0429a08/attachment-0001.obj>
More information about the Fortran
mailing list