[Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure

w6ws at earthlink dot net gcc-bugzilla@gcc.gnu.org
Mon May 18 15:36:00 GMT 2009



------- Comment #8 from w6ws at earthlink dot net  2009-05-18 15:36 -------
Subject: Re:  Attributes not fully checked comparing actual
 vs dummy procedure

Janus,

janus at gcc dot gnu dot org wrote:
> ------- Comment #7 from janus at gcc dot gnu dot org  2009-05-18 09:36 -------
> The commit in comment #6 implements the checking for intents.
> 
> ToDo:
> 
> * check for OPTIONAL
> * better error messages
> * recursive check (see comment #2)

I was going to comment that OPTIONAL should be checked too, but you
beat me to it.

We have been having problems with both OPTIONAL and INTENT not being
checked by various compilers.  NAG, of course, does a better job than
most in this area.  It is good to see gfortran learn about this checking
too.

Thank you for your hard work on this!

Walter


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36947



More information about the Gcc-bugs mailing list