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] Remove expr_computes_nonzero


On Wed, Jul 20, 2005 at 02:04:47PM -0400, James A. Morrison wrote:

> 	* tree.h (tree_expr_nonzero_p): Export.
> 	* fold-const.c (tree_expr_nonzero_p): Likewise.
> 	Return true for CALL_EXPRs that are alloca calls.
> 	(fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs
> 	against zero.
> 	* tree-flow.h (expr_computes_nonzero): Remove.
> 	* tree-vrp.c (expr_computes_nonzero): Remove.
>  	(vrp_expr_computes_nonzero): Use tree_expr_nonzero_p.
> 	(extract_range_from_unary_expr): Likewise.
> 	* tree-ssa-dom.c (record_equivalences_from_stmt): Use
> 	tree_expr_nonzero_p.
> 
OK.


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