re PR fortran/47054 (Compilation error when cray pointers are declared in both host...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 5 Oct 2019 15:23:26 +0000 (15:23 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 5 Oct 2019 15:23:26 +0000 (15:23 +0000)
commit2345fe52da74dac58173489e844647d3a94f4ca8
treec97e0c3f80257bacdf5fbce7c224ef8a89096f23
parent74e4fb1361b89fcca2b713ac79832934a7b3030b
re PR fortran/47054 (Compilation error when cray pointers are declared in both host and internal subroutines)

2019-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/47045
* decl.c (variable_decl): Do not search parent namespace for symbol.

2019-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/47045
* gfortran.dg/pr47054_1.f90: New test
* gfortran.dg/pr47054_2.f90: Ditto.

From-SVN: r276627
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr47054_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr47054_2.f90 [new file with mode: 0644]