This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure
- From: "w6ws at earthlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2008 13:52:48 -0000
- Subject: [Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure
- References: <bug-36947-15045@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from w6ws at earthlink dot net 2008-07-27 13:52 -------
Subject: Re: Attributes not fully checked comparing actual
vs dummy procedure
burnus at gcc dot gnu dot org wrote:
> If actual-argument procedure itself takes procedures as argument, one can check
> recursively, which will be more work; I think for such kind of nesting no
> checking is done currently.
Good point.
> (I thought that there was a PR already, but I cannot find it - maybe it does
> not exist.)
There are several 'accept-invalid' PRs that seem to deal with similar issues,
but I did not see any that specifically addressed this one.
BTW, I meant to say that the NAG compiler finds the problem at *compile* time.
So run-time never happens. Almost every other compiler I have tried ignores
the problem, and a SEGV usually occurs at run-time.
Thank you for looking into this!
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36947