re PR fortran/33818 (Bogus error "Variable 'str' is used at (1) before the ENTRY...
authorTobias Burnus <burnus@net-b.de>
Sat, 20 Oct 2007 11:34:21 +0000 (13:34 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 20 Oct 2007 11:34:21 +0000 (13:34 +0200)
commit70365b5c3d02f224299cd40fb48959eec8d9e020
treea53652ecad7719cf18dc983406c631f7644b82b2
parent85799c607bd51136e8d0eeefa7039ce82e10a900
re PR fortran/33818 (Bogus error "Variable 'str' is used at (1) before the ENTRY statement")

2007-10-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33818
        * resolve.c (resolve_variable): Check that symbol is in the same
        namespace as the entry function.

2007-10-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33818
        * gfortran.dg/entry_dummy_ref_3.f90: New.

From-SVN: r129510
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/entry_dummy_ref_3.f90 [new file with mode: 0644]