diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-02-02 18:56:37 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-02-02 18:56:37 +0000 |
commit | 0fef3fd0eada944c2677ba0680393a12979f970f (patch) | |
tree | 955327bc9f9ac1f86814b649a8e7be4427abe84a /gcc/cpphash.c | |
parent | 1acce4c771ff585069a1551fe1a6d0bf70fdda52 (diff) | |
download | gcc-0fef3fd0eada944c2677ba0680393a12979f970f.zip gcc-0fef3fd0eada944c2677ba0680393a12979f970f.tar.gz gcc-0fef3fd0eada944c2677ba0680393a12979f970f.tar.bz2 |
cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.c (_cpp_init_hashtable): Similarly.
* cppinit.c (cpp_create_reader): Default the signed_char flag.
(init_builtins): Define __CHAR_UNSIGNED__ appropriately.
(COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
(cpp_handle_option): Handle the new options.
* cpplex.c (cpp_interpret_charconst): Use new flag.
* cpplib.h (struct cpp_options): New member signed_char.
* gcc.c (cpp_unique_options): Remove %c spec and documentation.
(cpp_options): Handle -fsigned-char and -funsigned-char.
(static_specs): Remove signed_char_spec.
(do_spec1): Don't handle %c.
* system.h: Poison SIGNED_CHAR_SPEC.
* tradcif.y (yylex): Use flag_signed_char.
* tradcpp.h (flag_signed_char): New.
* tradcpp.c (flag_signed_char): New.
(main): Handle new command-line options.
(initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
config:
* alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
* avr/avr.h: Remove old comments.
* i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
(CC1_SPEC): Pass -fsigned-char if -mic*.
(SIGNED_CHAR_SPEC): Remove.
doc:
* tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
testsuite:
* gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests.
From-SVN: r49444
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index 8be1b2f..69e1a23 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -73,7 +73,6 @@ _cpp_init_hashtable (pfile, table) s->n_true = cpp_lookup (pfile, DSC("true")); s->n_false = cpp_lookup (pfile, DSC("false")); s->n__STRICT_ANSI__ = cpp_lookup (pfile, DSC("__STRICT_ANSI__")); - s->n__CHAR_UNSIGNED__ = cpp_lookup (pfile, DSC("__CHAR_UNSIGNED__")); s->n__VA_ARGS__ = cpp_lookup (pfile, DSC("__VA_ARGS__")); s->n__VA_ARGS__->flags |= NODE_DIAGNOSTIC; } |