]> gcc.gnu.org Git - gcc.git/commit - gcc/c-decl.c
toplev.c (documented_lang_options): Add -fshort-wchar.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 23 Sep 1999 21:03:53 +0000 (21:03 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Sep 1999 21:03:53 +0000 (17:03 -0400)
commit12a39b12648fdd1675757518450720d16ef24793
treef1348bbe949f8cba90abd610eefdbe630bdaa2c1
parente689ae67255aca55fddb4b01b0b9ded6d3f151ea
toplev.c (documented_lang_options): Add -fshort-wchar.

* toplev.c (documented_lang_options): Add -fshort-wchar.
* c-decl.c (c_decode_option): Likewise.
(init_decl_processing): If -fshort-wchar, use 'short unsigned int'
for wchar_t.
* c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
* gcc.c (default_compilers): If -fshort-wchar,
override __WCHAR_TYPE__.
* tm.texi (C Dialect Options): Add -fshort-wchar.

From-SVN: r29638
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c
gcc/c-lex.c
gcc/gcc.c
gcc/toplev.c
This page took 0.055385 seconds and 5 git commands to generate.