[PATCH] Use XCNEW instead of XNEW+memset

Ian Lance Taylor iant@google.com
Tue Nov 14 18:12:00 GMT 2006


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



More information about the Gcc-patches mailing list