public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/38839] BIND(C): Allow non-digit/underscore/alphabetic binding names
Date: Thu, 10 Dec 2009 19:52:00 -0000	[thread overview]
Message-ID: <20091210195213.12770.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38839-13404@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2009-12-10 19:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 15:37 [Bug fortran/38839] New: " burnus at gcc dot gnu dot org
2009-01-14 16:01 ` [Bug fortran/38839] " burnus at gcc dot gnu dot org
2009-01-14 16:09 ` burnus at gcc dot gnu dot org
2009-03-29  8:46 ` fxcoudert at gcc dot gnu dot org
2009-12-10 19:11 ` dfranke at gcc dot gnu dot org
2009-12-10 19:52 ` burnus at gcc dot gnu dot org [this message]
     [not found] <bug-38839-4@http.gcc.gnu.org/bugzilla/>
2014-06-08 22:37 ` fxcoudert at gcc dot gnu.org
2014-06-29 14:15 ` fxcoudert at gcc dot gnu.org
2014-06-29 14:16 ` fxcoudert at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091210195213.12770.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).