https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82796
--- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Nov 4 16:41:09 2017 New Revision: 254409 URL: https://gcc.gnu.org/viewcvs?rev=254409&root=gcc&view=rev Log: 2017-11-04 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/82796 * resolve.c (resolve_equivalence): An entity in a common block within a module cannot appear in an equivalence statement if the entity is with a pure procedure. 2017-11-04 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/82796 * gfortran.dg/equiv_pure.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/equiv_pure.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/testsuite/ChangeLog