Committed as revision r253328 with the change logs
2017-10-01 Dominique d'Humieres
PR fortran/61450
* parse.c (gfc_global_used): Replace the gfc_internal_error
with an error.
2017-10-01 Dominique d'Humieres
PR fortran/61450
* gfortran.dg/binding_lab
Hi Dominique,
The patch is OK for trunk.
Thanks!
Thomas
As noticed by Thomas on IRC, the FX's patch may not be translator friendly. I
have now tested the following
--- ../_clean/gcc/fortran/parse.c 2017-09-01 19:00:10.0 +0200
+++ gcc/fortran/parse.c 2017-09-28 17:55:14.0 +0200
@@ -5742,16 +5742,28 @@ gfc_global_used (gfc_gsymbol