[Bug fortran/86906] erroneous name clash with renaming in use statement

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 12 15:36:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86906

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Aug 12 15:35:53 2018
New Revision: 263498

URL: https://gcc.gnu.org/viewcvs?rev=263498&root=gcc&view=rev
Log:
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.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/use_rename_9.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/resolve.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list