Re: [patch, fortran] Fix PR 66695, 77746 and 79485

2019-03-13 Thread Thomas Koenig
Hi Steve, Regressoin-tested. OK for trunk? Looks good to me. Committed as r269635, with one correction: When checking with SVN, I found that I had misnumbered the test cases - I have now committed them as binding_label_tests_30.f90 to binding_label_tests_33.f90. Thanks for the review! Regar

Re: [patch, fortran] Fix PR 66695, 77746 and 79485

2019-03-12 Thread Steve Kargl
On Tue, Mar 12, 2019 at 10:42:21PM +0100, Thomas Koenig wrote: > > the attached patch fixes three very closely related 7/8/9 regressions. > The common root cause of these PRs was that , if a binding label > existed, gfc_get_extern_function_decl first looked for that name > in the global symbol tab

[patch, fortran] Fix PR 66695, 77746 and 79485

2019-03-12 Thread Thomas Koenig
Hello world, the attached patch fixes three very closely related 7/8/9 regressions. The common root cause of these PRs was that , if a binding label existed, gfc_get_extern_function_decl first looked for that name in the global symbol table for that function and used its backend_decl. If there wa