]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/47203 (USE of module with same name as SUBROUTINE not reject, but also...
authorMikael Morin <mikael@gcc.gnu.org>
Wed, 9 Jan 2013 20:18:44 +0000 (20:18 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Wed, 9 Jan 2013 20:18:44 +0000 (20:18 +0000)
commitba29dca90d1b948654eeb69c25cfc763c99b1971
tree770cbf75028c945ef12e5f9224dc66ef0504f10a
parente1f2b72927b8dcad0c745a75d2ae23bce664d3d5
re PR fortran/47203 (USE of module with same name as SUBROUTINE not reject, but also not working)

PR fortran/47203
* module.c (check_for_ambiguous): Get the current program unit using
gfc_current_ns.

PR fortran/47203
* gfortran.dg/use_28.f90: New test.

From-SVN: r195065
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/use_28.f90 [new file with mode: 0644]
This page took 0.067175 seconds and 5 git commands to generate.