This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30746] 50th Anniversary Bug - Forward reference to contained function
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2007 11:19:34 -0000
- Subject: [Bug fortran/30746] 50th Anniversary Bug - Forward reference to contained function
- References: <bug-30746-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2007-05-10 12:19 -------
(In reply to comment #3)
> The patch below does the job.
Not quite - apart from 'n' not being declared, this patch causes a couple of
regressions. These are easily fixed. However, if the function x has a
different number of arguments to the rank of variable 'x', an error ensues.
This is going to require a bit more work but it is promising.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30746