OSDN Git Service

* c-common.c (c_common_init): Set options->unsigned_char from
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2002 21:55:37 +0000 (21:55 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2002 21:55:37 +0000 (21:55 +0000)
commit965e9876e513b1c221ba6f74ba40b8ccde9456ed
treea9277c30531397fe1a8be45a591e60dad0e34257
parent8a50a6399767b8da0b7774adbd5ff4ea843bee85
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53703 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cppmacro.c