c-common.c (c_common_nodes_and_builtins): Create __builtin_ptrdiff_t and __builtin_size_t.

* c-common.c (c_common_nodes_and_builtins):
	Create __builtin_ptrdiff_t and __builtin_size_t.

From-SVN: r30855
This commit is contained in:
Gavin Romig-Koch 1999-12-10 04:26:06 +00:00 committed by Gavin Romig-Koch
parent 27def0aa16
commit 29ae8f1027
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
* c-common.c (c_common_nodes_and_builtins):
Create __builtin_ptrdiff_t and __builtin_size_t.
Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
* pa/elf.h (MAX_OFILE_ALIGNMENT): Define.

View File

@ -3527,6 +3527,12 @@ c_common_nodes_and_builtins (cplus_mode, no_builtins, no_nonansi_builtins)
pushdecl (build_decl (TYPE_DECL, get_identifier ("__builtin_va_list"),
va_list_type_node));
pushdecl (build_decl (TYPE_DECL, get_identifier ("__builtin_ptrdiff_t"),
ptrdiff_type_node));
pushdecl (build_decl (TYPE_DECL, get_identifier ("__builtin_size_t"),
sizetype));
va_list_ptr_type_node = build_pointer_type (va_list_type_node);
if (TREE_CODE (va_list_type_node) == ARRAY_TYPE)