]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-common.h
c-common.c: Include "defaults.h".
authorJoseph Myers <jsm28@cam.ac.uk>
Fri, 1 Dec 2000 22:25:43 +0000 (22:25 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 1 Dec 2000 22:25:43 +0000 (22:25 +0000)
commit5fd8e53691af618b8ff21f8abdaefbb234ab8dc6
tree129bd88e5e40aaabb1457a5c0c01dbdb748db7d1
parent239b8e589de7bd00ecfaba044dfed56f123278fb
c-common.c: Include "defaults.h".

* c-common.c: Include "defaults.h".
(WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
(c_common_nodes_and_builtins): Create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.
* c-common.h (identifier_global_value): Declare.
* c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
(init_decl_processing): Don't create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.
(identifier_global_value): New function.

cp:
* decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
(init_decl_processing): Don't create string_type_node,
const_string_type_node, wint_type_node, intmax_type_node,
uintmax_type_node, default_function_type, ptrdiff_type_node and
unsigned_ptrdiff_type_node.  Adjust position of call to
c_common_nodes_and_builtins.
(identifier_global_value): New function.

From-SVN: r37931
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c