[Fortran] Fix to strict associate check (PR93427)
authorTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 09:00:07 +0000 (10:00 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 09:00:07 +0000 (10:00 +0100)
commitae86ede8e988d1863b92a19f35d5f7c6b998bf8c
tree4aab7841fde78e7f5cb65d86a4774d2df59003c6
parentf626ae5478887b0cec886160dcfc4d59bf6fda07
[Fortran] Fix to strict associate check (PR93427)

        PR fortran/93427
        * resolve.c (resolve_assoc_var): Remove too strict check.
        * gfortran.dg/associate_51.f90: Update test case.

        PR fortran/93427
        * gfortran.dg/associate_52.f90: New.
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_51.f90
gcc/testsuite/gfortran.dg/associate_52.f90 [new file with mode: 0644]