This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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)


Paul,

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.


I have reread my notes on this - the checking in trans-decl.c only takes sym->attr.referenced and so is unable to do what I was after; to see if a symbol is defined before some point in the parsing.

Paul


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