re PR fortran/36251 (PUBLIC and PRIVATE abuse)
authorTobias Burnus <burnus@gcc.gnu.org>
Sun, 18 May 2008 11:10:11 +0000 (13:10 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 18 May 2008 11:10:11 +0000 (13:10 +0200)
commite7bff0d1d5a2ca472ab99eba22e006a34ad37c56
treeb5aae94d05b87de03144816296f9b337ec01f650
parente29cc9b40265813f66eaf8a0e783d7a8a0c5037d
re PR fortran/36251 (PUBLIC and PRIVATE abuse)

2008-05-18  Steven G. Kargl  <kargls@comcast.net>

        PR fortran/36251
        * symbol.c (check_conflict): Issue errors for abuse of PUBLIC,
        * PRIVATE,
        and BIND(C).
        * resolve.c (gfc_verify_binding_labels): Fix NULL pointer
        * dereference.

2008-05-18  Steven G. Kargl  <kargls@comcast.net>

        PR fortran/36251
        gfortran.dg/public_private_module.f90: new test.
        gfortran.dg/bind_c_module.f90: new test.

From-SVN: r135495
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_module.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/public_private_module.f90 [new file with mode: 0644]