re PR fortran/15986 (Forward referenced procedure not handled correctly)
authorPaul Brook <paul@codesourcery.com>
Sun, 11 Jul 2004 23:00:08 +0000 (23:00 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sun, 11 Jul 2004 23:00:08 +0000 (23:00 +0000)
commit682e69e1a3138385c1d1c7387baedc3e3f2d3a57
treef82026b8934f8c5eee67469dbea505c8961f5d15
parentdf23e6bbfaa8254963aa5254a851c942f3c8b594
re PR fortran/15986 (Forward referenced procedure not handled correctly)

PR fortran/15986
* parse.c (gfc_fixup_sibling_symbols): Also look for untyped
variables.
(parse_contained): Mark contained symbols as referenced.
testsuite/
* gfortran.dg/contained_1.f90: New test.

From-SVN: r84536
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contained_1.f90 [new file with mode: 0644]