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]

Re: [Patch, fortran] PR18578, PR18579, PR20857 and PR20885 - Constraints on INTENT(OUT and INOUT)


On Sunday 29 January 2006 06:55, Paul Thomas wrote:
> This patch implements the obvious constraints on the use of INTENT(OUT
> and INOUT).  ie: that the actual argument should be a variable
> ("definable" in the standard) and that INTENT(OUT) variables should be
> defined or intialized before they are used or before return from the
> procedure.

Variables that aren't defined should be caught be the normal unused 
parameter/variable warnings. AFAIK there's nothing special about INTENT(OUT) 
that requires it be defined.

Paul


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