On Mon, Nov 14, 2016 at 06:21:06PM +0100, Janus Weil wrote: > 2016-11-14 16:10 GMT+01:00 Steve Kargl <s...@troutmask.apl.washington.edu>: > > On Mon, Nov 14, 2016 at 12:29:31PM +0100, Janus Weil wrote: > >> > After looking into this a little bit more, I found that the culprit > >> > seems to be 'resolve_procedure_interface', which does not properly > >> > copy the 'class_ok' attribute. I propose the attached patch to fix > >> > this (regtesting right now) ... > >> > >> The regtest finished successfully. Is that patch ok for trunk? > >> > > > > Yes. My original patch also regtest without a problem, but > > you have a better fix. You can also commit the patch to > > 5 and 6 branch. > > Thanks, I have committed the patch to trunk as r242392 now: > > https://gcc.gnu.org/viewcvs?rev=242392&root=gcc&view=rev > > Since it's not a regression, I don't care strongly about backporting. > If you think it's necessary, feel free to do it ... >
Understood. For small patches, I typically try to backport to at least the 6-branch as a pre-emptive measure. My reasoning is that gfortran users will likely use an updated 6.x compiler before trying the newest release. Thanks for the fix. -- Steve