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

Reply via email to