[Patch, fortran] PR47203 Use of module with same name as subroutine

2013-01-08 Thread Mikael Morin
Hello, a small, unexciting bug. For the case: subroutine m() use m end subroutine m the USE statement is rejected, but it is not if the subroutine is contained. In the latter case, the namespace of the symbol of the subroutine is the parent namespace, which confuses the error

Re: [Patch, fortran] PR47203 Use of module with same name as subroutine

2013-01-08 Thread Steve Kargl
On Tue, Jan 08, 2013 at 10:06:17PM +0100, Mikael Morin wrote: a small, unexciting bug. For the case: subroutine m() use m end subroutine m the USE statement is rejected, but it is not if the subroutine is contained. In the latter case, the namespace of the symbol of the