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

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 10 11:19:00 GMT 2007



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



More information about the Gcc-bugs mailing list