Hi Paul, looks ok to me. At least I couldn't break it with the most devious codes I could fathom.
Ok for trunk and if applicable to gcc-6. - Andre On Wed, 26 Oct 2016 13:28:15 +0200 Paul Richard Thomas <paul.richard.tho...@gmail.com> wrote: > Dear All, > > The comment in the patch more than adequately describes how this patch > works. The first testcase checks that correctly functioning code is > produced, when the spurious error is suppressed, and the second checks > that genuine errors are caught. > > Bootstraps and regtests on FC21/x86_64 - OK for trunk and, in a week > or so time, 6-branch? > > I intend to commit as 'obvious' at 17:00 CET today if there are no objections. > > Best regards > > Paul > > 2016-10-26 Paul Thomas <pa...@gcc.gnu.org> > > PR fortran/78108 > * resolve.c (resolve_typebound_intrinsic_op): For submodules > suppress the error and return if the same procedure symbol > is added more than once to the interface. > > 2016-10-26 Paul Thomas <pa...@gcc.gnu.org> > > PR fortran/78108 > * gfortran.dg/submodule_18.f08: New test. > * gfortran.dg/submodule_19.f08: New test. -- Andre Vehreschild * Email: vehre ad gmx dot de