https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36275
--- Comment #12 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Author: fxcoudert Date: Sun Jun 29 14:14:16 2014 New Revision: 212123 URL: https://gcc.gnu.org/viewcvs?rev=212123&root=gcc&view=rev Log: PR fortran/36275 PR fortran/38839 * decl.c (check_bind_name_identifier): New function. (gfc_match_bind_c): Match any constant expression as binding label. * match.c (gfc_match_name_C): Remove. * gfortran.dg/binding_label_tests_2.f03: Adjust error messages. * gfortran.dg/binding_label_tests_27.f90: New file. Added: trunk/gcc/testsuite/gfortran.dg/binding_label_tests_27.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/fortran/match.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/binding_label_tests_2.f03