Error on Associate with a program.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 8 Dec 2019 13:42:42 +0000 (13:42 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 8 Dec 2019 13:42:42 +0000 (13:42 +0000)
commitc212316b4a774f8283f097d46e56fb8256502304
tree33a6ab7b520dc8378c1100b080dd6947d56ec8c0
parentf477062c2ee3410545d9ff4c68bb080ae5c4f8ae
Error on Associate with a program.

2018-12-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/92780
    * resolve.c (resolve_assoc_var): Issue error if the associating
    entity is a program.

2018-12-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/92780
    * gfortran.dg/associate_50.f90: New test.

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