re PR fortran/86906 (erroneous name clash with renaming in use statement)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 12 Aug 2018 10:55:13 +0000 (10:55 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 12 Aug 2018 10:55:13 +0000 (10:55 +0000)
commit8532a010b68c33716346bbd9f253fa51392bf4d1
treed7b6504de6b09a221cf322f1d127851b9abc0691
parenta49317452416282f4cb4da0149754c58d87b2241
re PR fortran/86906 (erroneous name clash with renaming in use statement)

2018-08-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/86906
* resolve.c (resolve_fl_variable_derived): Check if the derived
type is use associated before checking for the host association
error.

2018-08-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/86906
* gfortran.dg/use_rename_9.f90: New test.

From-SVN: r263494
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/use_rename_9.f90 [new file with mode: 0644]