[Bug fortran/38839] BIND(C): Allow non-digit/underscore/alphabetic binding names
fxcoudert at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 29 14:15:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38839
--- Comment #6 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
More information about the Gcc-bugs
mailing list