Hi Steve, The patch did last from gcc-4.2, apparently without anybody detecting a problem :-)
Anyway, the patch looks good to me too. Thanks for getting to it so fast, FX. Cheers Paul On 4 June 2015 at 10:24, FX <fxcoud...@gmail.com> wrote: > >> 2015-06-03 Russell Whitesides <russell...@gmail.com> >> Steven G. Kargl <ka...@gcc.gnu.org> >> >> PR fortran/40958 >> PR fortran/60780 >> PR fortran/66377 >> * module.c (load_equiv): Add check for loading duplicate EQUIVALENCEs >> from different modules. Eliminate the pruning of unused >> equivalence-objects >> >> >> 2015-06-03 Steven G. Kargl <ka...@gcc.gnu.org> >> >> PR fortran/66377 >> gfortran.dg/equiv_9.f90: New test. > > > OK. I agree the other test case is not suitable for the testsuite. > > FX -- Outside of a dog, a book is a man's best friend. Inside of a dog it's too dark to read. Groucho Marx