re PR fortran/34657 (program-unit MY_SUB imports symbol MY_SUB)
authorTobias Burnus <burnus@net-b.de>
Sun, 17 Jul 2011 19:57:10 +0000 (21:57 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 17 Jul 2011 19:57:10 +0000 (21:57 +0200)
commit63523a1fa58d1059e9c2d9ac926873fae010a367
tree52dd10e8bef572d706dc9826d00910855edbbe4e
parent1ff247496641c78fbfbeb6a04db2c8dbdedbcf1f
re PR fortran/34657 (program-unit MY_SUB imports symbol MY_SUB)

2011-07-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34657
        * module.c (check_for_ambiguous): Check whether the name is
        * matches
        the current program unit.

2011-07-17  Tobias Burnus  <burnus@net-b.de>
            Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/34657
        * gfortran.dg/generic_17.f90: Fix testcase.
        * gfortran.dg/interface_3.f90: Add dg-error.
        * gfortran.dg/use_14.f90: New.
        * gfortran.dg/use_15.f90: New.

Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>
From-SVN: r176375
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_17.f90
gcc/testsuite/gfortran.dg/interface_3.f90
gcc/testsuite/gfortran.dg/use_14.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/use_15.f90 [new file with mode: 0644]