[patch] Fix store CCP thinkos
Diego Novillo
dnovillo@redhat.com
Tue Aug 16 00:25:00 GMT 2005
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?
More information about the Gcc-patches
mailing list