OSDN Git Service

gcc:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Sep 2005 20:31:37 +0000 (20:31 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Sep 2005 20:31:37 +0000 (20:31 +0000)
commit865c4e44475a4e78fef3deb41aef6152793ce596
tree00694b7f29cada5340d6da00c4838abdd73404a6
parent73a991443f15b27ad2705034699beec4ff8106c6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104462 138bc75d-0d04-0410-961f-82ee72b054a4
30 files changed:
gcc/ChangeLog
gcc/c-opts.c
gcc/c.opt
gcc/doc/cpp.texi
gcc/doc/cppopts.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/normalize-1.C
gcc/testsuite/g++.dg/cpp/ucnid-1.C
gcc/testsuite/g++.dg/other/ucnid-1.C
gcc/testsuite/gcc.dg/cpp/normalize-1.c
gcc/testsuite/gcc.dg/cpp/normalize-2.c
gcc/testsuite/gcc.dg/cpp/normalize-3.c
gcc/testsuite/gcc.dg/cpp/normalize-4.c
gcc/testsuite/gcc.dg/cpp/ucnid-1.c
gcc/testsuite/gcc.dg/cpp/ucnid-2.c
gcc/testsuite/gcc.dg/cpp/ucnid-3.c
gcc/testsuite/gcc.dg/cpp/ucnid-4.c
gcc/testsuite/gcc.dg/cpp/ucnid-5.c
gcc/testsuite/gcc.dg/cpp/ucnid-7.c
gcc/testsuite/gcc.dg/cpp/ucnid-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ucnid-1.c
gcc/testsuite/gcc.dg/ucnid-2.c
gcc/testsuite/gcc.dg/ucnid-3.c
gcc/testsuite/gcc.dg/ucnid-4.c
gcc/testsuite/gcc.dg/ucnid-5.c
gcc/testsuite/gcc.dg/ucnid-6.c
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/lex.c