This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Updated C/C++ common builtin tree nodes patch


On Thu, Jan 04, 2001 at 06:55:37PM +0000, Joseph S. Myers wrote:
> 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
> 
> 	* 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.
> 
> gcc/cp/ChangeLog:
> 2001-01-04  Joseph S. Myers  <jsm28@cam.ac.uk>
> 
> 	* 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.

Looks good to me.



r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]