[PATCH] PR fortran/47054 -- Don't search parent namespace for symbol

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] PR fortran/47054 -- Don't search parent namespace for symbol

Steve Kargl
I plan to commit this as obviously correct tomorrow morning.
However, as the bug has been open for nearly 9 years, I give
anyone reading this a chance to speak up.

2019-10-04  Steven G. Kargl  <[hidden email]>

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

2019-10-04  Steven G. Kargl  <[hidden email]>

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

--
Steve

pr47054.diff (5K) Download Attachment