This is the mail archive of the gcc-bugs@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]

[Bug fortran/30746] 50th Anniversary Bug - Forward reference to contained function



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


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