diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-05-21 21:55:37 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-05-21 21:55:37 +0000 |
commit | 2a1dc0d87ed40633451c634b567a37f15e93abb5 (patch) | |
tree | a9277c30531397fe1a8be45a591e60dad0e34257 /gcc/cpphash.c | |
parent | d476dcad7f5d7b4c0a03d5a053e713c6b1b3a528 (diff) | |
download | gcc-2a1dc0d87ed40633451c634b567a37f15e93abb5.zip gcc-2a1dc0d87ed40633451c634b567a37f15e93abb5.tar.gz gcc-2a1dc0d87ed40633451c634b567a37f15e93abb5.tar.bz2 |
c-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.
* c-common.c (c_common_init): Set options->unsigned_char from
flag_signed_char.
(cb_register_builtins): Define __STRICT_ANSI__ and
__CHAR_UNSIGNED__ here...
* cppinit.c (init_builtins): Not here.
(cpp_create_reader): unsigned_char option defaults to 0, not
!DEFAULT_SIGNED_CHAR.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
and -funsigned-char.
* cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
* cpphash.c (_cpp_init_hashtable): Don't set it.
* cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
directly. Clarify comment.
From-SVN: r53703
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 69e1a23..a90ec9b 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -72,7 +72,6 @@ _cpp_init_hashtable (pfile, table) s->n_defined = cpp_lookup (pfile, DSC("defined")); 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__VA_ARGS__ = cpp_lookup (pfile, DSC("__VA_ARGS__")); s->n__VA_ARGS__->flags |= NODE_DIAGNOSTIC; } |