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] Fix store CCP thinkos


On Tue, Aug 16, 2005 at 01:28:20AM +0200, Steven Bosscher wrote:

> 	* tree-ssa-ccp.c (likely_value): If the right hand side is a
> 	constant, return CONSTANT.
> 	(ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal.
> 	(ccp_fold, visit_assignment): Likewise.
> 	(evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way.
> 
OK.  You don't mention the PR that this fixes, though.  Could you
also add the test case?


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