diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-09-20 21:31:37 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-09-20 21:31:37 +0100 |
commit | af15a2fed76b5da2faf0c2ee9e052923c7562e8f (patch) | |
tree | 00694b7f29cada5340d6da00c4838abdd73404a6 /gcc/testsuite/gcc.dg/ucnid-3.c | |
parent | 6fff2603132ecacd4e5cdd97ea92ab5443de613f (diff) | |
download | gcc-af15a2fed76b5da2faf0c2ee9e052923c7562e8f.zip gcc-af15a2fed76b5da2faf0c2ee9e052923c7562e8f.tar.gz gcc-af15a2fed76b5da2faf0c2ee9e052923c7562e8f.tar.bz2 |
c.opt (fextended-identifiers): New.
gcc:
* c.opt (fextended-identifiers): New.
* c-opts.c (c_common_handle_option): Handle
-fextended-identifiers.
* doc/cpp.texi: Update documentation of extended identifiers.
* doc/cppopts.texi (-fextended-identifiers): Document.
gcc/testsuite:
* g++.dg/cpp/ucnid-1.C, g++.dg/cpp/normalize-1.C,
g++.dg/other/ucnid-1.C, gcc.dg/cpp/normalize-1.c,
gcc.dg/cpp/normalize-2.c, gcc.dg/cpp/normalize-3.c,
gcc.dg/cpp/normalize-4.c, gcc.dg/cpp/ucnid-1.c,
gcc.dg/cpp/ucnid-2.c, gcc.dg/cpp/ucnid-3.c, gcc.dg/cpp/ucnid-4.c,
gcc.dg/cpp/ucnid-5.c, gcc.dg/cpp/ucnid-7.c,gcc.dg/ucnid-1.c,
gcc.dg/ucnid-2.c, gcc.dg/ucnid-3.c, gcc.dg/ucnid-4.c,
gcc.dg/ucnid-5.c, gcc.dg/ucnid-6.c: Add -fextended-identifiers.
* gcc.dg/cpp/ucnid-8.c: New test.
libcpp:
* include/cpplib.h (struct cpp_options): Add extended_identifiers.
* init.c (struct lang_flags, lang_defaults): Add
extended_identifiers.
(cpp_set_lang): Use it.
* lex.c (forms_identifier_p): Check extended_identifiers.
From-SVN: r104462
Diffstat (limited to 'gcc/testsuite/gcc.dg/ucnid-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/ucnid-3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/ucnid-3.c b/gcc/testsuite/gcc.dg/ucnid-3.c index b68ffd4..79f1be8 100644 --- a/gcc/testsuite/gcc.dg/ucnid-3.c +++ b/gcc/testsuite/gcc.dg/ucnid-3.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */ -/* { dg-options "-std=c99" } */ +/* { dg-options "-std=c99 -fextended-identifiers" } */ void abort (void); int \u00C0 = 1; |