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]
Other format: [Raw text]

Re: [PATCH] Use XCNEW instead of XNEW+memset


Dirk Mueller <dmueller@suse.de> writes:

> 2006-11-13  Dirk Mueller  <dmueller@suse.de>
> 
> 	* tree-vrp.c (get_value_range): Use XCNEW instead
> 	of XNEW and memset.
> 	(insert_range_assertions): Use XCNEWVEC instead
> 	of XNEWVEC and memset.
> 	(vrp_initialize): Same.
> 	(vrp_finalize): Same.
> 	* tree-ssa-ccp.c (ccp_initialize): Same.
> 	* predict.c (tree_bb_level_predictions): Same.
> 	* calls.c (expand_call): Same.
> 	* tree-ssa-copy.c (init_copy_prop): Same.
> 	(fini_copy_prop): Same.
> 	* tree-ssa-alias.c (get_ptr_info): Use GGC_CNEW instead
> 	of GGC_NEW and memset.
> 	
> 	* name-lookup.c (begin_scope): Use GGC_CNEW instead of
> 	GGC_NEW and memset.

This is OK.

Thanks.

Ian


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