https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82796
--- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Nov 4 17:16:39 2017 New Revision: 254410 URL: https://gcc.gnu.org/viewcvs?rev=254410&root=gcc&view=rev Log: 2017-11-01 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-01 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/82796 * gfortran.dg/equiv_pure.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/equiv_pure.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/resolve.c branches/gcc-6-branch/gcc/testsuite/ChangeLog