From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12822 invoked by alias); 10 Dec 2009 19:52:27 -0000 Received: (qmail 12771 invoked by uid 48); 10 Dec 2009 19:52:13 -0000 Date: Thu, 10 Dec 2009 19:52:00 -0000 Message-ID: <20091210195213.12770.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/38839] BIND(C): Allow non-digit/underscore/alphabetic binding names In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg01057.txt.bz2 ------- Comment #4 from burnus at gcc dot gnu dot org 2009-12-10 19:52 ------- For "$" one should check whether it is allowed for the given target, cf. DOLLARS_IN_IDENTIFIERS (-> gcc/c-opts.c and dollars_in_ident in libcpp/). For UCN (universal-character name), the ASCII characters $, @ and ` are allowed. Cf. C99 6.4.3 and libcpp _cpp_valid_ucn. One could also think of supporting UCN with character kind=4 (cf. PR36275 and PR 9449) - at least when -fextended-identifiers is specified - as vendor extension. As gfortran uses libcpp and and has full support of wide chars, it should not be difficult (but shall produce an error with -std=f2008). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38839