c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
authorJoseph Myers <jsm28@cam.ac.uk>
Thu, 4 Jan 2001 23:53:54 +0000 (23:53 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 4 Jan 2001 23:53:54 +0000 (23:53 +0000)
commiteaa7c03f500d8d7b5d88c2b02d11513cc489226e
treed40c8e23aa4989def74861335c33e8a8a73520fc
parente2a5f96bbfae7b9b30d76246c1cd58fe80dddd2c
c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.

* c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
(flag_short_double, flag_short_wchar): Define.
(c_common_nodes_and_builtins): Create many tree nodes shared
between C and C++ here instead of in cp/decl.c and ...
* c-decl.c (init_decl_processing): ... here.
(SIZE_TYPE, WCHAR_TYPE): Don't define.
(flag_short_double, flag_short_wchar): Don't define.
(record_builtin_type): New function.
(build_void_list_node): New function.
* c-common.h (flag_short_double, flag_short_wchar,
record_builtin_type, build_void_list_node): Declare.

cp:
* decl.c (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Don't define.
(record_builtin_type): Make non-static.
(flag_short_double): Don't declare.
(init_decl_processing): Remove the creation of many tree nodes now
in c_common_nodes_and_builtins.
(build_void_list_node): New function.
* decl2.c (flag_short_double, flag_short_wchar): Don't define.
* cp-tree.h (flag_short_wchar): Don't declare.

From-SVN: r38695
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c