This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] PR20886 - passing generic name as dummy argument


: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>> 

Attachment: pr20886.diff
Description: pr20886.diff

Attachment: Change.Logs
Description: Change.Logs


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]